Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.000955/0.000955, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001054/0.001054, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.493/2.493, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.541e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001718/0.001734, allocations: 1.095 MB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.003699, allocations: 1.668 MB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.003822, allocations: 4 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.003953, allocations: 19.73 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.004073, allocations: 51.59 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.004561, allocations: 219.4 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.004852, allocations: 327.2 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.004973, allocations: 55.67 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.005167, allocations: 187.7 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.005281, allocations: 91.73 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.005318, allocations: 32 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.005401, allocations: 39.98 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.005441, allocations: 51.83 kB / 0.8424 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.00552, allocations: 99.8 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005747, allocations: 227.2 kB / 0.8427 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.005749, allocations: 0 / 0.8427 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.82e-07/0.005749, allocations: 0 / 0.8427 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.005754, allocations: 0 / 0.8427 GB, free: 9.988 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005333/0.006287, allocations: 454.4 kB / 0.8431 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.006317, allocations: 8.922 kB / 0.8431 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.006371, allocations: 32.91 kB / 0.8432 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.006583, allocations: 185.4 kB / 0.8433 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.006607, allocations: 20.64 kB / 0.8434 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.006636, allocations: 24.36 kB / 0.8434 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.006821, allocations: 142.2 kB / 0.8435 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006832, allocations: 192 / 0.8435 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.006847, allocations: 16.3 kB / 0.8435 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.006858, allocations: 7.938 kB / 0.8435 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.006964, allocations: 76.86 kB / 0.8436 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.00745, allocations: 347.7 kB / 0.8439 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.007618, allocations: 102.5 kB / 0.844 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.007663, allocations: 40.75 kB / 0.8441 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.00768, allocations: 4 kB / 0.8441 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.007855, allocations: 162.6 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.007856, allocations: 4 kB / 0.8442 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0002112/0.008067, allocations: 153.5 kB / 0.8444 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.008099, allocations: 63.39 kB / 0.8444 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.008193, allocations: 171.5 kB / 0.8446 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.00822, allocations: 37.7 kB / 0.8446 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.008272, allocations: 120.6 kB / 0.8448 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.008313, allocations: 67.5 kB / 0.8448 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.008385, allocations: 65.66 kB / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.00847, allocations: 334.8 kB / 0.8452 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.008545, allocations: 73.61 kB / 0.8453 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.008644, allocations: 151.4 kB / 0.8454 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.00877, allocations: 152.9 kB / 0.8456 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008772, allocations: 0 / 0.8456 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002148/0.008987, allocations: 245.2 kB / 0.8458 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.009014, allocations: 37.69 kB / 0.8458 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.009019, allocations: 0 / 0.8458 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.009032, allocations: 3.938 kB / 0.8458 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.009112, allocations: 35.92 kB / 0.8459 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.009117, allocations: 8.094 kB / 0.8459 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.009223, allocations: 39.86 kB / 0.8459 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.00924, allocations: 12 kB / 0.8459 GB, free: 6.426 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 9.683e-05/0.009337, allocations: 137.8 kB / 0.8461 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.009359, allocations: 19.98 kB / 0.8461 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.009523, allocations: 143.5 kB / 0.8462 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.009528, allocations: 11.94 kB / 0.8462 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.009529, allocations: 0 / 0.8462 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.009534, allocations: 3.984 kB / 0.8462 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.009859, allocations: 358.5 kB / 0.8466 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.009861, allocations: 0 / 0.8466 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.009904, allocations: 19.98 kB / 0.8466 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009907, allocations: 3.938 kB / 0.8466 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.009921, allocations: 15.92 kB / 0.8466 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.009922, allocations: 0 / 0.8466 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.009923, allocations: 0 / 0.8466 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.01007, allocations: 236.4 kB / 0.8468 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.01009, allocations: 15.84 kB / 0.8469 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.01012, allocations: 19.92 kB / 0.8469 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.01019, allocations: 11.98 kB / 0.8469 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.01024, allocations: 23.95 kB / 0.8469 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.01026, allocations: 11.98 kB / 0.8469 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.01029, allocations: 50.31 kB / 0.847 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01029, allocations: 0 / 0.847 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000194/0.01049, allocations: 59.89 kB / 0.847 GB, free: 5.254 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001101/0.0106, allocations: 112.5 kB / 0.8471 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01082, allocations: 246 kB / 0.8474 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01082, allocations: 0 / 0.8474 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.0109, allocations: 68.7 kB / 0.8474 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.0111, allocations: 56 kB / 0.8475 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.01154, allocations: 337 kB / 0.8478 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01158, allocations: 76.33 kB / 0.8479 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.01164, allocations: 25.94 kB / 0.8479 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.01177, allocations: 99.34 kB / 0.848 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.01177, allocations: 0 / 0.848 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.00529/0.01706, allocations: 3.84 MB / 0.8517 GB, free: 432 kB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.338447436224669]