Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001991/0.001991, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002276/0.002276, allocations: 191.9 kB / 22.11 MB, free: 5.152 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.488/1.488, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 495.8 MB / 0.783 GB, free: 33.62 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-maint.12.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.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 67.12 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4578, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.003182/0.461, allocations: 1.093 MB / 1.308 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.4642, allocations: 1.608 MB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.4644, allocations: 4 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.4646, allocations: 35.61 kB / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.4648, allocations: 35.72 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.4655, allocations: 223.2 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.466, allocations: 323.3 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.4663, allocations: 59.02 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.4665, allocations: 139.5 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.4667, allocations: 115.6 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.4668, allocations: 32 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.4669, allocations: 47.98 kB / 1.31 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.467, allocations: 55.83 kB / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.4671, allocations: 127.4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.4677, allocations: 362.7 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4677, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4677, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.4677, allocations: 0 / 1.311 GB, free: 13.6 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.001114/0.4688, allocations: 483.7 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4688, allocations: 12.92 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.4689, allocations: 28.8 kB / 1.311 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.4695, allocations: 214.2 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.4695, allocations: 16.66 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.4696, allocations: 28.36 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.47, allocations: 181.2 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.47, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.47, allocations: 19.92 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4701, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.4705, allocations: 136.7 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.4717, allocations: 0.6009 MB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.4722, allocations: 178.9 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.4724, allocations: 80.75 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.4725, allocations: 3.938 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.4729, allocations: 211.1 kB / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.4729, allocations: 0 / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.0009329/0.4739, allocations: 334.8 kB / 1.313 GB, free: 10.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.4739, allocations: 55.41 kB / 1.313 GB, free: 10.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.4742, allocations: 178.2 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.4743, allocations: 45.69 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4744, allocations: 128.6 kB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.4745, allocations: 59.58 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.4746, allocations: 81.53 kB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002361/0.4748, allocations: 326.8 kB / 1.314 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.4751, allocations: 99.7 kB / 1.314 GB, free: 9.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.4753, allocations: 140.2 kB / 1.314 GB, free: 9.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.4757, allocations: 209 kB / 1.315 GB, free: 9.605 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4757, allocations: 3.938 kB / 1.315 GB, free: 9.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006147/0.4763, allocations: 347.2 kB / 1.315 GB, free: 9.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.4763, allocations: 34.64 kB / 1.315 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4764, allocations: 0 / 1.315 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4764, allocations: 0 / 1.315 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.4765, allocations: 35.98 kB / 1.315 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4765, allocations: 4 kB / 1.315 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.4768, allocations: 51.78 kB / 1.315 GB, free: 9.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.4768, allocations: 15.98 kB / 1.315 GB, free: 9.105 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.0002591/0.4771, allocations: 162.5 kB / 1.315 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.4771, allocations: 23.86 kB / 1.315 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.4778, allocations: 275.5 kB / 1.315 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4778, allocations: 4 kB / 1.315 GB, free: 8.633 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4778, allocations: 0 / 1.315 GB, free: 8.633 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4778, allocations: 0 / 1.315 GB, free: 8.633 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.479, allocations: 0.6343 MB / 1.316 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.479, allocations: 7.938 kB / 1.316 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.4791, allocations: 15.92 kB / 1.316 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4791, allocations: 0 / 1.316 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4791, allocations: 11.98 kB / 1.316 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4791, allocations: 4 kB / 1.316 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4791, allocations: 4 kB / 1.316 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.4798, allocations: 359.4 kB / 1.316 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.4798, allocations: 27.8 kB / 1.317 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.4799, allocations: 12 kB / 1.317 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.48, allocations: 19.97 kB / 1.317 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.4801, allocations: 23.95 kB / 1.317 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.4802, allocations: 23.86 kB / 1.317 GB, free: 7.434 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001471/0.4803, allocations: 128.2 kB / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4803, allocations: 0 / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003382/0.4807, allocations: 59.94 kB / 1.317 GB, free: 7.25 MB / 1.014 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.0002252/0.4809, allocations: 132.9 kB / 1.317 GB, free: 7.113 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.4815, allocations: 283.7 kB / 1.317 GB, free: 6.824 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4815, allocations: 0 / 1.317 GB, free: 6.824 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.4817, allocations: 95.89 kB / 1.317 GB, free: 6.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.4821, allocations: 46.75 kB / 1.317 GB, free: 6.688 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.483, allocations: 359.7 kB / 1.318 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4835, allocations: 0.7362 MB / 1.318 GB, free: 5.551 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.677e-05/0.4835, allocations: 25.94 kB / 1.318 GB, free: 5.523 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.4836, allocations: 19.44 kB / 1.318 GB, free: 5.504 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/0.4836, allocations: 0 / 1.318 GB, free: 5.504 MB / 1.014 GB Notification: Performance of Templates: time 0.008543/0.4922, allocations: 3.471 MB / 1.322 GB, free: 2.062 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.659281831234694]