Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001448/0.001448, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001666/0.001666, allocations: 216.2 kB / 22.24 MB, free: 5.094 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.836 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.438/3.438, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002206/0.002206, allocations: 69.42 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.46, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002973/0.463, allocations: 0.9246 MB / 1.326 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.4653, allocations: 1.443 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.4655, allocations: 4 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.624e-05/0.4656, allocations: 15.75 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.4658, allocations: 63.56 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.4672, allocations: 444.2 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008275/0.468, allocations: 495.1 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.4682, allocations: 25.95 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.4686, allocations: 191.6 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.469, allocations: 155.3 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.4691, allocations: 48 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.4693, allocations: 59.98 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.4694, allocations: 35.86 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.4696, allocations: 151.5 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007979/0.4704, allocations: 0.4907 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4704, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4704, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.4704, allocations: 0 / 1.33 GB, free: 13.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001319/0.4717, allocations: 0.5663 MB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4718, allocations: 16.03 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.4719, allocations: 24.84 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.4722, allocations: 173.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.4722, allocations: 16.38 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.4723, allocations: 20.38 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.4726, allocations: 119.6 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4726, allocations: 4.125 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4726, allocations: 3.938 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.4726, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.4728, allocations: 51.97 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.474, allocations: 0.7349 MB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.4743, allocations: 114.4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.4744, allocations: 51.48 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4744, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.4748, allocations: 174.6 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.4748, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006036/0.4754, allocations: 238 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.4755, allocations: 136.5 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.4759, allocations: 244.8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.4759, allocations: 37.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4761, allocations: 132.4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.4761, allocations: 31.81 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.4763, allocations: 89.64 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4765, allocations: 338.8 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.4769, allocations: 271 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.4774, allocations: 352.3 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.4779, allocations: 372.9 kB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4779, allocations: 4 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001123/0.4791, allocations: 0.6942 MB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.4792, allocations: 142.7 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4792, allocations: 4 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4792, allocations: 4 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.4793, allocations: 8 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.4793, allocations: 11.92 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.48, allocations: 111.9 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.48, allocations: 27.98 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002183/0.4803, allocations: 150.2 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.4803, allocations: 31.8 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.4804, allocations: 13.34 kB / 1.335 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4804, allocations: 4 kB / 1.335 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.4804, allocations: 7.984 kB / 1.335 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4804, allocations: 7.938 kB / 1.335 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.4806, allocations: 177.2 kB / 1.335 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4806, allocations: 7.984 kB / 1.335 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.4807, allocations: 8 kB / 1.335 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4807, allocations: 0 / 1.335 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4807, allocations: 8 kB / 1.335 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4807, allocations: 0 / 1.335 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4807, allocations: 0 / 1.335 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.4811, allocations: 229.3 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.4811, allocations: 27.84 kB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.4811, allocations: 4 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.4812, allocations: 8 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.4812, allocations: 11.97 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.4813, allocations: 12 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001754/0.4814, allocations: 168.4 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4814, allocations: 0 / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003743/0.4818, allocations: 68 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.482, allocations: 115.3 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009014/0.4829, allocations: 0.6095 MB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4829, allocations: 0 / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.483, allocations: 52.81 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.4835, allocations: 74.83 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.4842, allocations: 350.8 kB / 1.337 GB, free: 5.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4844, allocations: 120.9 kB / 1.337 GB, free: 5.129 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.4844, allocations: 21.62 kB / 1.337 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.4845, allocations: 19.42 kB / 1.337 GB, free: 5.086 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4845, allocations: 0 / 1.337 GB, free: 5.086 MB / 1.029 GB Notification: Performance of Templates: time 0.0116/0.4961, allocations: 5.236 MB / 1.342 GB, free: 15.97 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.908467911183834]