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.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.002003/0.002003, allocations: 101.3 kB / 16.45 MB, free: 6.5 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.002511/0.002511, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.668/1.668, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.002083/0.002083, allocations: 66.38 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4552, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002816/0.458, allocations: 1.086 MB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.4608, allocations: 1.658 MB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.461, allocations: 7.938 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.4611, allocations: 19.73 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.4613, allocations: 43.7 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007509/0.462, allocations: 222.8 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.4624, allocations: 335.2 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.4626, allocations: 58.66 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.4629, allocations: 127.6 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.463, allocations: 119.5 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.4631, allocations: 36 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.4632, allocations: 47.98 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.4633, allocations: 55.83 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.4635, allocations: 127.4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.464, allocations: 358.7 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.464, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.615e-06/0.464, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.464, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 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.001352/0.4654, allocations: 0.5593 MB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.4654, allocations: 11.98 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.4656, allocations: 24.84 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.4661, allocations: 264 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.4661, allocations: 24.59 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.4662, allocations: 24.36 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.4667, allocations: 184.1 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4667, allocations: 0 / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.4667, allocations: 11.98 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4667, allocations: 4 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.4671, allocations: 128.8 kB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.4684, allocations: 0.6408 MB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.4689, allocations: 174.8 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.4692, allocations: 72.73 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.4692, allocations: 4 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.4697, allocations: 204.8 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.4697, allocations: 3.938 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0009273/0.4706, allocations: 327.3 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.4707, allocations: 55.41 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.4709, allocations: 190.3 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.471, allocations: 37.7 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4711, allocations: 128.7 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.4712, allocations: 63.48 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.4713, allocations: 69.69 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000318/0.4717, allocations: 338.8 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.4719, allocations: 91.95 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.4722, allocations: 152.1 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.4727, allocations: 205 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.4727, allocations: 3.938 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006206/0.4733, allocations: 335.3 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.4734, allocations: 45.72 kB / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4734, allocations: 4 kB / 1.33 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.4734, allocations: 4 kB / 1.33 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.4736, allocations: 31.92 kB / 1.33 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4736, allocations: 0 / 1.33 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.4738, allocations: 47.84 kB / 1.33 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4739, allocations: 16 kB / 1.33 GB, free: 9.867 MB / 1.029 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.0002282/0.4741, allocations: 165.7 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.4742, allocations: 15.91 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.4748, allocations: 269.4 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.4748, allocations: 4 kB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4748, allocations: 0 / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4748, allocations: 3.984 kB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.476, allocations: 0.6625 MB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.476, allocations: 0 / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.4761, allocations: 19.92 kB / 1.331 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.4761, allocations: 4 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.4761, allocations: 3.984 kB / 1.331 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4761, allocations: 4 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4761, allocations: 0 / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.4769, allocations: 362.3 kB / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.477, allocations: 101 kB / 1.331 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.4771, allocations: 11.94 kB / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4772, allocations: 19.97 kB / 1.331 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.4773, allocations: 23.97 kB / 1.331 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.4773, allocations: 19.92 kB / 1.331 GB, free: 8.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001181/0.4775, allocations: 127.2 kB / 1.331 GB, free: 7.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4775, allocations: 4 kB / 1.331 GB, free: 7.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003178/0.4778, allocations: 55.95 kB / 1.332 GB, free: 7.91 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.0002733/0.478, allocations: 130 kB / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005688/0.4786, allocations: 283.1 kB / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4786, allocations: 0 / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.4788, allocations: 98.64 kB / 1.332 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.4793, allocations: 47.91 kB / 1.332 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/0.4801, allocations: 366.8 kB / 1.332 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.4806, allocations: 0.7324 MB / 1.333 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.617e-05/0.4807, allocations: 21.94 kB / 1.333 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.4807, allocations: 27.44 kB / 1.333 GB, free: 6.148 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.4807, allocations: 4 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of Templates: time 0.008044/0.4888, allocations: 3.374 MB / 1.336 GB, free: 2.801 MB / 1.029 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.730561160016805]