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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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.001313/0.001313, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001454/0.001454, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.534/1.534, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001653, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.004417/1.067, allocations: 2.457 MB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002617/1.07, allocations: 1.142 MB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/1.07, allocations: 11.94 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003296/1.07, allocations: 63.22 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000371/1.071, allocations: 67.31 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/1.072, allocations: 494.6 kB / 1.213 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001327/1.074, allocations: 0.9678 MB / 1.214 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/1.075, allocations: 0.5741 MB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/1.075, allocations: 319.1 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/1.075, allocations: 318.7 kB / 1.215 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/1.075, allocations: 116 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/1.076, allocations: 132 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/1.076, allocations: 195.5 kB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003233/1.076, allocations: 366.5 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/1.077, allocations: 1.162 MB / 1.217 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.077, allocations: 0 / 1.217 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.274e-06/1.077, allocations: 0 / 1.217 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.077, allocations: 0 / 1.217 GB, free: 5.207 MB / 0.9356 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.001558/1.079, allocations: 0.8989 MB / 1.217 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.079, allocations: 12.03 kB / 1.217 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/1.079, allocations: 72.12 kB / 1.218 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/1.08, allocations: 446.2 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/1.08, allocations: 57.67 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.08, allocations: 68.38 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/1.081, allocations: 0.6922 MB / 1.219 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/1.081, allocations: 8.125 kB / 1.219 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/1.081, allocations: 31.92 kB / 1.219 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/1.081, allocations: 12 kB / 1.219 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/1.082, allocations: 471.6 kB / 1.219 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/1.085, allocations: 2.802 MB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008691/1.086, allocations: 0.5339 MB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/1.086, allocations: 241 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/1.086, allocations: 16.38 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006314/1.087, allocations: 394.8 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 3.136e-06/1.087, allocations: 4 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.001302/1.088, allocations: 0.7172 MB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/1.088, allocations: 174.7 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/1.089, allocations: 318.1 kB / 1.224 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/1.089, allocations: 65.7 kB / 1.224 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/1.089, allocations: 245.1 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.089, allocations: 146.2 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/1.089, allocations: 186.5 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.09, allocations: 358.7 kB / 1.225 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/1.09, allocations: 225.8 kB / 1.225 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/1.091, allocations: 452.1 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007711/1.091, allocations: 0.5947 MB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/1.091, allocations: 0 / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00115/1.092, allocations: 0.7418 MB / 1.227 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/1.093, allocations: 40.58 kB / 1.227 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.093, allocations: 7.984 kB / 1.227 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.093, allocations: 16 kB / 1.227 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.093, allocations: 79.78 kB / 1.227 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.093, allocations: 15.98 kB / 1.227 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/1.093, allocations: 91.3 kB / 1.227 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/1.093, allocations: 39.98 kB / 1.228 GB, free: 9.41 MB / 0.9512 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.0003553/1.094, allocations: 288.2 kB / 1.228 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/1.094, allocations: 43.55 kB / 1.228 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/1.095, allocations: 0.581 MB / 1.228 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.095, allocations: 3.984 kB / 1.228 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.095, allocations: 0 / 1.228 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/1.095, allocations: 124.5 kB / 1.229 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/1.095, allocations: 23.98 kB / 1.229 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/1.095, allocations: 27.91 kB / 1.229 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.095, allocations: 72.48 kB / 1.229 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001087/1.097, allocations: 0.984 MB / 1.23 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001034/1.098, allocations: 1.049 MB / 1.231 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003875/1.098, allocations: 288.3 kB / 1.231 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001842/1.098, allocations: 190 kB / 1.231 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of Backend: time 8.42e-07/1.098, allocations: 0 / 1.231 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001486/1.1, allocations: 0.5579 MB / 1.232 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00159/1.101, allocations: 1.176 MB / 1.233 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of Templates: time 0.01229/1.114, allocations: 6.975 MB / 1.24 GB, free: 12.97 MB / 0.9669 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