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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=5000,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=5000,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 114.9 kB / 16.42 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 187.7 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.7 MB / 0.746 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 75.81 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.007088/1.02, allocations: 2.466 MB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003801/1.024, allocations: 1.131 MB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/1.025, allocations: 11.94 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004546/1.025, allocations: 71.2 kB / 1.23 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004827/1.026, allocations: 75.31 kB / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/1.028, allocations: 494.9 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001716/1.03, allocations: 0.9715 MB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/1.031, allocations: 0.5742 MB / 1.232 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006667/1.032, allocations: 327.1 kB / 1.232 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/1.033, allocations: 322.6 kB / 1.233 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/1.033, allocations: 108 kB / 1.233 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/1.033, allocations: 132 kB / 1.233 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/1.034, allocations: 191.6 kB / 1.233 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007036/1.034, allocations: 374.5 kB / 1.233 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/1.036, allocations: 1.172 MB / 1.235 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.036, allocations: 0 / 1.235 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.653e-06/1.036, allocations: 0 / 1.235 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.668e-05/1.036, allocations: 0 / 1.235 GB, free: 5.105 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002954/1.039, allocations: 0.9138 MB / 1.235 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/1.04, allocations: 12.02 kB / 1.235 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/1.04, allocations: 68.56 kB / 1.236 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009912/1.041, allocations: 442.5 kB / 1.236 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.041, allocations: 53.69 kB / 1.236 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/1.041, allocations: 80.36 kB / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/1.043, allocations: 0.6922 MB / 1.237 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/1.043, allocations: 192 / 1.237 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.043, allocations: 27.94 kB / 1.237 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/1.043, allocations: 16 kB / 1.237 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/1.045, allocations: 467.6 kB / 1.237 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005323/1.05, allocations: 2.822 MB / 1.24 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/1.052, allocations: 0.5218 MB / 1.24 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/1.053, allocations: 257 kB / 1.241 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/1.053, allocations: 12.77 kB / 1.241 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/1.054, allocations: 406.4 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 4.789e-06/1.054, allocations: 3.938 kB / 1.241 GB, free: 14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002436/1.056, allocations: 0.7173 MB / 1.242 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.056, allocations: 170.8 kB / 1.242 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/1.057, allocations: 326.8 kB / 1.242 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.057, allocations: 57.7 kB / 1.242 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/1.058, allocations: 253.3 kB / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/1.058, allocations: 150.8 kB / 1.243 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/1.058, allocations: 186.6 kB / 1.243 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.059, allocations: 350.7 kB / 1.243 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/1.059, allocations: 225.9 kB / 1.243 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/1.06, allocations: 448.1 kB / 1.244 GB, free: 11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/1.062, allocations: 0.5947 MB / 1.244 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/1.062, allocations: 4 kB / 1.244 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002351/1.064, allocations: 0.7428 MB / 1.245 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/1.064, allocations: 41.73 kB / 1.245 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.064, allocations: 8 kB / 1.245 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/1.064, allocations: 8 kB / 1.245 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/1.065, allocations: 83.77 kB / 1.245 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/1.065, allocations: 11.94 kB / 1.245 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008302/1.066, allocations: 103.5 kB / 1.245 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.066, allocations: 35.98 kB / 1.245 GB, free: 9.266 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 78 ($PRE.conChaWid.truFalHol.onDel1.u,$PRE.conChaWid.truFalHol.onDel2.u,$PRE.conChaWid.truFalHol.toTrue.enableFire,$PRE.conChaWid.truFalHol.toFalse.enableFire,$PRE.conChaWid.truFalHol.toTrue1.enableFire,$PRE.conChaWid.truFalHol.toFalse1.enableFire,$whenCondition9,$whenCondition10,$PRE.conChaWid.truFalHol.onDel2.t_next,$whenCondition6,$PRE.conChaWid.truFalHol.onDel1.t_next,$whenCondition3,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conChaWid.truFalHol.onDel2.t_next,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.toFalse1.enableFire,conChaWid.truFalHol.toFalse1.localCondition,conChaWid.truFalHol.toTrue1.enableFire,conChaWid.truFalHol.initialStep.oldActive,$PRE.conChaWid.truFalHol.initialStep.oldActive,conChaWid.truFalHol.initialStep.newActive,$PRE.conChaWid.truFalHol.initialStep.newActive,conChaWid.truFalHol.initialStep.outPort[2].available,conChaWid.truFalHol.initialStep.localActive,$PRE.conChaWid.truFalHol.initialStep.localActive,conChaWid.truFalHol.initialStep.active,conChaWid.truFalHol.toFalse.enableFire,conChaWid.truFalHol.toFalse.localCondition,conChaWid.truFalHol.outputTrue.active,conChaWid.truFalHol.outputTrue.oldActive,$PRE.conChaWid.truFalHol.outputTrue.oldActive,conChaWid.truFalHol.outputTrue.newActive,$PRE.conChaWid.truFalHol.outputTrue.newActive,conChaWid.truFalHol.outputTrue.inPort[2].occupied,conChaWid.truFalHol.outputTrue.localActive,$PRE.conChaWid.truFalHol.outputTrue.localActive,conChaWid.truFalHol.toTrue.enableFire,conChaWid.truFalHol.toTrue.localCondition,conChaWid.truFalHol.outputFalse.active,conChaWid.truFalHol.outputFalse.oldActive,$PRE.conChaWid.truFalHol.outputFalse.oldActive,conChaWid.truFalHol.outputFalse.newActive,$PRE.conChaWid.truFalHol.outputFalse.newActive,conChaWid.truFalHol.outputFalse.inPort[2].occupied,conChaWid.truFalHol.outputFalse.localActive,$PRE.conChaWid.truFalHol.outputFalse.localActive,conChaWid.truFalHol.stateGraphRoot.activeSteps,conChaWid.truFalHol.onDel2.y,conChaWid.truFalHol.onDel2.u,conChaWid.truFalHol.onDel1.y,conChaWid.truFalHol.onDel1.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,$whenCondition5,$whenCondition4,$whenCondition8,$whenCondition7,conChaWid.truFalHol.onDel1.t_next,conChaWid.truFalHol.toTrue.t_start,$PRE.conChaWid.truFalHol.toTrue.t_start,conChaWid.truFalHol.toFalse.t_start,$PRE.conChaWid.truFalHol.toFalse.t_start,conChaWid.truFalHol.toTrue1.t_start,$PRE.conChaWid.truFalHol.toTrue1.t_start,conChaWid.truFalHol.toFalse1.t_start,$PRE.conChaWid.truFalHol.toFalse1.t_start,conChaWid.truFalHol.stateGraphRoot.resume,conChaWid.truFalHol.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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.0006083/1.067, allocations: 288.8 kB / 1.246 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.067, allocations: 43.77 kB / 1.246 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/1.069, allocations: 0.5772 MB / 1.246 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/1.069, allocations: 7.984 kB / 1.246 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.069, allocations: 0 / 1.246 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/1.069, allocations: 124.7 kB / 1.246 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/1.069, allocations: 23.98 kB / 1.247 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/1.069, allocations: 23.92 kB / 1.247 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/1.07, allocations: 68.48 kB / 1.247 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002068/1.072, allocations: 0.988 MB / 1.248 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001858/1.074, allocations: 1.045 MB / 1.249 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000763/1.074, allocations: 300.5 kB / 1.249 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003311/1.075, allocations: 182 kB / 1.249 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of Backend: time 7.11e-07/1.075, allocations: 0 / 1.249 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00265/1.077, allocations: 0.5618 MB / 1.25 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002543/1.08, allocations: 1.183 MB / 1.251 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.02372/1.104, allocations: 6.988 MB / 1.258 GB, free: 12.8 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) 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) Reference file matches