Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 101.1 kB / 19.71 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 207.9 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 64.97 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3976, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002565/0.4002, allocations: 1.098 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.4033, allocations: 2.196 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.4035, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.023e-05/0.4036, allocations: 19.69 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.4038, allocations: 99.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.4071, allocations: 1.386 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.4087, allocations: 1.205 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.4087, allocations: 20.88 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.4095, allocations: 487.3 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007639/0.4103, allocations: 438.9 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.4106, allocations: 104 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.4108, allocations: 116 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.4109, allocations: 67.75 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.4113, allocations: 367.2 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.4123, allocations: 0.97 MB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4123, allocations: 4 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4123, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.4123, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001447/0.4138, allocations: 1.1 MB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4138, allocations: 8.031 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.414, allocations: 68.73 kB / 1.337 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.4142, allocations: 162.7 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.4143, allocations: 36.36 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.4144, allocations: 64.36 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.4148, allocations: 226.8 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4148, allocations: 4.172 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.4148, allocations: 11.92 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4148, allocations: 0 / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.4149, allocations: 71.78 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.4157, allocations: 0.5987 MB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.4161, allocations: 315.2 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.4163, allocations: 128.9 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.4163, allocations: 12 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006925/0.417, allocations: 462.7 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/0.417, allocations: 0 / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001115/0.4181, allocations: 0.5771 MB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002464/0.4184, allocations: 439.2 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.4187, allocations: 300.4 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.4188, allocations: 61.7 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.419, allocations: 165.3 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.4191, allocations: 99.36 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005079/0.4196, allocations: 270 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4198, allocations: 354.8 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.421, allocations: 0.8581 MB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.4224, allocations: 1.149 MB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.4239, allocations: 1.207 MB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4239, allocations: 4 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003236/0.4271, allocations: 2.198 MB / 1.346 GB, free: 12.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.4274, allocations: 470.7 kB / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.4275, allocations: 19.98 kB / 1.347 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.519e-05/0.4275, allocations: 15.94 kB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.4276, allocations: 35.86 kB / 1.347 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/0.4276, allocations: 15.94 kB / 1.347 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.4297, allocations: 411.1 kB / 1.347 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.4299, allocations: 99.91 kB / 1.347 GB, free: 11.09 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004014/0.4303, allocations: 218.1 kB / 1.347 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4304, allocations: 39.77 kB / 1.347 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.67e-05/0.4305, allocations: 42.17 kB / 1.347 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4306, allocations: 7.984 kB / 1.347 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.4306, allocations: 7.938 kB / 1.347 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.4306, allocations: 39.72 kB / 1.347 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.4307, allocations: 15.98 kB / 1.347 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.4308, allocations: 15.98 kB / 1.347 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.431, allocations: 59.8 kB / 1.348 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001272/0.4322, allocations: 1.561 MB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001351/0.4336, allocations: 1.61 MB / 1.351 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002196/0.4338, allocations: 128.4 kB / 1.351 GB, free: 7.301 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002165/0.434, allocations: 191.1 kB / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of Backend: time 8.02e-07/0.434, allocations: 0 / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.4381, allocations: 1.984 MB / 1.353 GB, free: 4.852 MB / 1.045 GB Notification: Performance of SimCode: time 0.001625/0.4397, allocations: 1.008 MB / 1.354 GB, free: 3.797 MB / 1.045 GB Notification: Performance of Templates: time 0.02429/0.464, allocations: 14.12 MB / 1.368 GB, free: 6.02 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.751174056000309]