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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 189.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.359/3.359, allocations: 0.4893 GB / 0.7884 GB, free: 33.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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 0.002032/0.002032, allocations: 69.02 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4563, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.003035/0.4593, allocations: 1.094 MB / 1.317 GB, free: 8.648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.4625, allocations: 1.607 MB / 1.319 GB, free: 7.023 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.4628, allocations: 7.938 kB / 1.319 GB, free: 7.016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.4629, allocations: 19.73 kB / 1.319 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.4632, allocations: 43.66 kB / 1.319 GB, free: 6.953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.4641, allocations: 225.3 kB / 1.319 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.4648, allocations: 331.3 kB / 1.319 GB, free: 6.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.465, allocations: 63.02 kB / 1.319 GB, free: 6.348 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.4653, allocations: 131.6 kB / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.4656, allocations: 127.5 kB / 1.32 GB, free: 6.094 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/0.4657, allocations: 32 kB / 1.32 GB, free: 6.062 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.4658, allocations: 51.92 kB / 1.32 GB, free: 6.012 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.4659, allocations: 47.89 kB / 1.32 GB, free: 5.965 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.4661, allocations: 123.5 kB / 1.32 GB, free: 5.844 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.4667, allocations: 370.6 kB / 1.32 GB, free: 5.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4667, allocations: 0 / 1.32 GB, free: 5.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4667, allocations: 3.938 kB / 1.32 GB, free: 5.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.4667, allocations: 0 / 1.32 GB, free: 5.477 MB / 1.014 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.001118/0.4678, allocations: 483.8 kB / 1.321 GB, free: 4.965 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4678, allocations: 8.031 kB / 1.321 GB, free: 4.957 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.4679, allocations: 32.8 kB / 1.321 GB, free: 4.926 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.4684, allocations: 214.1 kB / 1.321 GB, free: 4.691 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.4684, allocations: 16.66 kB / 1.321 GB, free: 4.676 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.4685, allocations: 28.36 kB / 1.321 GB, free: 4.648 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.4689, allocations: 181.2 kB / 1.321 GB, free: 4.469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4689, allocations: 0 / 1.321 GB, free: 4.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.469, allocations: 11.98 kB / 1.321 GB, free: 4.457 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.469, allocations: 4 kB / 1.321 GB, free: 4.453 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.4693, allocations: 136.6 kB / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.4704, allocations: 0.6048 MB / 1.322 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.4709, allocations: 174.8 kB / 1.322 GB, free: 3.492 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.4711, allocations: 72.83 kB / 1.322 GB, free: 3.418 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.4712, allocations: 3.984 kB / 1.322 GB, free: 3.414 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.4716, allocations: 209.2 kB / 1.322 GB, free: 3.199 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.4716, allocations: 0 / 1.322 GB, free: 3.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.0008483/0.4724, allocations: 326.5 kB / 1.323 GB, free: 2.875 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.4725, allocations: 63.39 kB / 1.323 GB, free: 2.801 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.4727, allocations: 170.3 kB / 1.323 GB, free: 2.625 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.4728, allocations: 41.7 kB / 1.323 GB, free: 2.578 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4729, allocations: 132.6 kB / 1.323 GB, free: 2.445 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.473, allocations: 59.58 kB / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.4731, allocations: 77.53 kB / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4733, allocations: 330.8 kB / 1.323 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.4735, allocations: 99.7 kB / 1.324 GB, free: 1.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.4738, allocations: 148.2 kB / 1.324 GB, free: 1.715 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.4741, allocations: 201.1 kB / 1.324 GB, free: 1.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4741, allocations: 3.938 kB / 1.324 GB, free: 1.496 MB / 1.014 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006031/0.4747, allocations: 335.3 kB / 1.324 GB, free: 1.156 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.4748, allocations: 45.78 kB / 1.324 GB, free: 1.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4748, allocations: 3.938 kB / 1.324 GB, free: 1.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.4748, allocations: 4 kB / 1.324 GB, free: 1.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4749, allocations: 35.86 kB / 1.324 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4749, allocations: 4 kB / 1.324 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.4752, allocations: 51.8 kB / 1.324 GB, free: 1.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.4753, allocations: 8 kB / 1.324 GB, free: 1 MB / 1.014 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 0.0002053/0.4755, allocations: 170.3 kB / 1.324 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.4755, allocations: 15.91 kB / 1.324 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006259/0.4761, allocations: 273.2 kB / 1.325 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4761, allocations: 0 / 1.325 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4761, allocations: 0 / 1.325 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4761, allocations: 7.984 kB / 1.325 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4773, allocations: 0.6273 MB / 1.325 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4773, allocations: 0 / 1.325 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.4773, allocations: 15.98 kB / 1.325 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4774, allocations: 0 / 1.325 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.4774, allocations: 11.98 kB / 1.325 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4774, allocations: 0 / 1.325 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4774, allocations: 0 / 1.325 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.478, allocations: 373.2 kB / 1.326 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.4781, allocations: 23.84 kB / 1.326 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.4781, allocations: 8 kB / 1.326 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4783, allocations: 15.98 kB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4784, allocations: 27.94 kB / 1.326 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.4784, allocations: 15.94 kB / 1.326 GB, free: 15.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001468/0.4786, allocations: 132.2 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4786, allocations: 4 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003314/0.4789, allocations: 59.89 kB / 1.326 GB, free: 15.16 MB / 1.029 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.0002313/0.4791, allocations: 128.9 kB / 1.326 GB, free: 15.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000623/0.4797, allocations: 283.4 kB / 1.326 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4797, allocations: 0 / 1.326 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.48, allocations: 104 kB / 1.327 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.4804, allocations: 41.94 kB / 1.327 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.4813, allocations: 368.2 kB / 1.327 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.4817, allocations: 0.7324 MB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.4e-05/0.4818, allocations: 29.88 kB / 1.328 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.4818, allocations: 31.42 kB / 1.328 GB, free: 13.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4818, allocations: 0 / 1.328 GB, free: 13.39 MB / 1.029 GB Notification: Performance of Templates: time 0.008635/0.4905, allocations: 3.459 MB / 1.331 GB, free: 9.961 MB / 1.029 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.66295677330345]