Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.9 MB, free: 13.65 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7634 GB, free: 10.96 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=521,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=521,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 83.86 kB / 1.108 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9523/0.9543, allocations: 168.7 MB / 1.272 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002461/0.9567, allocations: 0.9776 MB / 1.273 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.9589, allocations: 1.445 MB / 1.275 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.9589, allocations: 4 kB / 1.275 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.143e-05/0.959, allocations: 11.81 kB / 1.275 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.9592, allocations: 63.5 kB / 1.275 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.9603, allocations: 433.7 kB / 1.275 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005955/0.9609, allocations: 499 kB / 1.276 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.9611, allocations: 37.61 kB / 1.276 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.9613, allocations: 183.6 kB / 1.276 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.9616, allocations: 163.5 kB / 1.276 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.9617, allocations: 48 kB / 1.276 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.9618, allocations: 63.98 kB / 1.276 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.9619, allocations: 39.78 kB / 1.276 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.9621, allocations: 159.5 kB / 1.276 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.9627, allocations: 0.5008 MB / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9627, allocations: 0 / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9627, allocations: 0 / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.9627, allocations: 4 kB / 1.277 GB, free: 128 kB / 0.9669 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.0009909/0.9637, allocations: 0.63 MB / 1.278 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.9637, allocations: 12.62 kB / 1.278 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.9638, allocations: 32.8 kB / 1.278 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.9641, allocations: 219.1 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.9641, allocations: 16.38 kB / 1.278 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.9642, allocations: 32.25 kB / 1.278 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.9644, allocations: 117.6 kB / 1.278 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.9644, allocations: 4.188 kB / 1.278 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.9645, allocations: 11.92 kB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.9645, allocations: 3.984 kB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.9646, allocations: 51.92 kB / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.9658, allocations: 0.8718 MB / 1.279 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.966, allocations: 114.4 kB / 1.279 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.9661, allocations: 59.42 kB / 1.279 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.9661, allocations: 0 / 1.279 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/0.9664, allocations: 185.4 kB / 1.279 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.9664, allocations: 3.938 kB / 1.279 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005116/0.9669, allocations: 225.4 kB / 1.279 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.967, allocations: 132.5 kB / 1.28 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.9673, allocations: 237 kB / 1.28 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.9674, allocations: 41.69 kB / 1.28 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.9675, allocations: 124.5 kB / 1.28 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.9675, allocations: 31.8 kB / 1.28 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.9677, allocations: 101.6 kB / 1.28 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9679, allocations: 330.8 kB / 1.28 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.9682, allocations: 144.2 kB / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.9686, allocations: 230.6 kB / 1.281 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.9691, allocations: 364.9 kB / 1.281 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.9691, allocations: 7.938 kB / 1.281 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001003/0.9701, allocations: 0.5546 MB / 1.282 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.9703, allocations: 139 kB / 1.282 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9703, allocations: 4 kB / 1.282 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.9703, allocations: 8 kB / 1.282 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.9704, allocations: 15.94 kB / 1.282 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.9704, allocations: 4 kB / 1.282 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.971, allocations: 119.7 kB / 1.282 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.9711, allocations: 27.97 kB / 1.282 GB, free: 10.49 MB / 0.9825 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.000203/0.9713, allocations: 150.3 kB / 1.282 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.9713, allocations: 15.91 kB / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.9714, allocations: 21.23 kB / 1.282 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9714, allocations: 4.938 kB / 1.282 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9714, allocations: 0 / 1.282 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.9714, allocations: 11.94 kB / 1.282 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.9717, allocations: 261.5 kB / 1.282 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9717, allocations: 4 kB / 1.282 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.9718, allocations: 11.94 kB / 1.282 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9718, allocations: 0 / 1.282 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.9718, allocations: 11.98 kB / 1.282 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.9718, allocations: 0 / 1.282 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9718, allocations: 4 kB / 1.282 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.9721, allocations: 215.4 kB / 1.283 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.9722, allocations: 108.9 kB / 1.283 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.9722, allocations: 0 / 1.283 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.187e-05/0.9723, allocations: 4 kB / 1.283 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.9723, allocations: 19.91 kB / 1.283 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.9724, allocations: 12 kB / 1.283 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001766/0.9725, allocations: 168.5 kB / 1.283 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9725, allocations: 0 / 1.283 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003372/0.9729, allocations: 75.83 kB / 1.283 GB, free: 9.301 MB / 0.9825 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.0002063/0.9731, allocations: 117.2 kB / 1.283 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000772/0.9738, allocations: 485.3 kB / 1.284 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9739, allocations: 0.5 kB / 1.284 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.974, allocations: 87.84 kB / 1.284 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.9744, allocations: 56.33 kB / 1.284 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.9752, allocations: 388.1 kB / 1.284 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.9756, allocations: 0.732 MB / 1.285 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.9756, allocations: 19.44 kB / 1.285 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9756, allocations: 0 / 1.285 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of Templates: time 0.006778/0.9824, allocations: 3.503 MB / 1.288 GB, free: 3.855 MB / 0.9825 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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