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.00179/0.00179, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002108/0.002108, allocations: 222.3 kB / 23 MB, free: 4.91 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 3.287/3.287, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: 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.002154/0.002154, allocations: 71.47 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3648, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002614/0.3674, allocations: 1.027 MB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.3699, allocations: 1.604 MB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.37, allocations: 4 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.3702, allocations: 19.73 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.3703, allocations: 51.64 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.3709, allocations: 218 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.3712, allocations: 327.3 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3714, allocations: 55.03 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3716, allocations: 131.5 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3718, allocations: 111.5 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.3718, allocations: 32 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3719, allocations: 47.98 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.372, allocations: 55.83 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3721, allocations: 99.62 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.3725, allocations: 370.7 kB / 1.369 GB, free: 9.512 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3725, allocations: 4 kB / 1.369 GB, free: 9.508 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3725, allocations: 3.938 kB / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3726, allocations: 0 / 1.369 GB, free: 9.504 MB / 1.061 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.0009507/0.3735, allocations: 475.8 kB / 1.369 GB, free: 9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.3736, allocations: 12.03 kB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.3736, allocations: 24.8 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.374, allocations: 210.7 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.3741, allocations: 16.66 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.3741, allocations: 28.36 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.3745, allocations: 184 kB / 1.37 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3745, allocations: 0 / 1.37 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.3746, allocations: 19.95 kB / 1.37 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3746, allocations: 4 kB / 1.37 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.3749, allocations: 128.8 kB / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.3759, allocations: 0.5117 MB / 1.37 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.3763, allocations: 166.9 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.3765, allocations: 76.73 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3765, allocations: 3.938 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.3769, allocations: 204.2 kB / 1.371 GB, free: 7.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.3769, allocations: 0 / 1.371 GB, free: 7.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.0007531/0.3777, allocations: 331.5 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3777, allocations: 63.34 kB / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3779, allocations: 178.8 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.3779, allocations: 41.7 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3781, allocations: 132.6 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3781, allocations: 63.58 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3782, allocations: 69.69 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3784, allocations: 334.8 kB / 1.372 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.3786, allocations: 125.7 kB / 1.372 GB, free: 5.984 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.3789, allocations: 207.2 kB / 1.372 GB, free: 5.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.3793, allocations: 213 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3793, allocations: 0 / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000607/0.3799, allocations: 377 kB / 1.373 GB, free: 5.141 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.3799, allocations: 37.73 kB / 1.373 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3799, allocations: 7.938 kB / 1.373 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3799, allocations: 0 / 1.373 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.3801, allocations: 27.92 kB / 1.373 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3801, allocations: 0 / 1.373 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3803, allocations: 53.39 kB / 1.373 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3804, allocations: 15.98 kB / 1.373 GB, free: 4.996 MB / 1.061 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.0001777/0.3805, allocations: 161.8 kB / 1.373 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.3806, allocations: 27.8 kB / 1.373 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.3812, allocations: 280.9 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3812, allocations: 4 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3812, allocations: 0 / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3812, allocations: 0 / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.3821, allocations: 0.5725 MB / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3821, allocations: 4 kB / 1.374 GB, free: 3.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.3822, allocations: 11.94 kB / 1.374 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3822, allocations: 4 kB / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.3822, allocations: 7.984 kB / 1.374 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3822, allocations: 4 kB / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3822, allocations: 0 / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.3828, allocations: 368.1 kB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.3828, allocations: 19.83 kB / 1.374 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.3829, allocations: 12 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.383, allocations: 15.98 kB / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.3831, allocations: 31.95 kB / 1.374 GB, free: 3.422 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3831, allocations: 11.98 kB / 1.374 GB, free: 3.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001189/0.3833, allocations: 127.2 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.3833, allocations: 0 / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003261/0.3836, allocations: 67.88 kB / 1.374 GB, free: 3.219 MB / 1.061 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.0002118/0.3838, allocations: 128.9 kB / 1.375 GB, free: 3.086 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005714/0.3844, allocations: 317.2 kB / 1.375 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3844, allocations: 0 / 1.375 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.3846, allocations: 107.8 kB / 1.375 GB, free: 2.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.385, allocations: 39.91 kB / 1.375 GB, free: 2.613 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.3858, allocations: 390 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3859, allocations: 117.3 kB / 1.376 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.386, allocations: 35.36 kB / 1.376 GB, free: 2.031 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.386, allocations: 0 / 1.376 GB, free: 2.031 MB / 1.061 GB Notification: Performance of Templates: time 0.005714/0.3917, allocations: 3.133 MB / 1.379 GB, free: 14.91 MB / 1.076 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/jenkins1/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: 11.444157061167061]