Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_10_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_10_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.001275/0.001275, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001683/0.001683, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.003763/1.065, allocations: 2.487 MB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002081/1.067, allocations: 1.131 MB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/1.068, allocations: 11.94 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002449/1.068, allocations: 71.2 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002014/1.068, allocations: 79.31 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/1.069, allocations: 491.9 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008466/1.07, allocations: 0.9601 MB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006386/1.071, allocations: 0.5817 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/1.071, allocations: 323.1 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/1.071, allocations: 318.7 kB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/1.071, allocations: 116 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/1.072, allocations: 128 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/1.072, allocations: 203.5 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/1.072, allocations: 358.6 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/1.073, allocations: 1.172 MB / 1.176 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.073, allocations: 0 / 1.176 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/1.073, allocations: 0 / 1.176 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.048e-05/1.073, allocations: 0 / 1.176 GB, free: 11.45 MB / 0.9044 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.001425/1.075, allocations: 0.9137 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.075, allocations: 8.031 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/1.075, allocations: 72.56 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/1.075, allocations: 446.4 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/1.075, allocations: 53.69 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.076, allocations: 72.36 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.077, allocations: 0.6922 MB / 1.178 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.077, allocations: 8.125 kB / 1.178 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/1.077, allocations: 35.94 kB / 1.178 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/1.077, allocations: 12 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007983/1.077, allocations: 471.6 kB / 1.178 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/1.08, allocations: 2.803 MB / 1.181 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009038/1.081, allocations: 0.5334 MB / 1.181 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/1.082, allocations: 253 kB / 1.182 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/1.082, allocations: 16.31 kB / 1.182 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005869/1.082, allocations: 390.9 kB / 1.182 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.395e-06/1.082, allocations: 0 / 1.182 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.001331/1.084, allocations: 0.7251 MB / 1.183 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.084, allocations: 178.8 kB / 1.183 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/1.084, allocations: 322.3 kB / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/1.084, allocations: 61.7 kB / 1.183 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/1.084, allocations: 245.3 kB / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/1.085, allocations: 143.4 kB / 1.184 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/1.085, allocations: 202.5 kB / 1.184 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.085, allocations: 350.7 kB / 1.184 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/1.086, allocations: 225.9 kB / 1.184 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/1.086, allocations: 444.1 kB / 1.185 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/1.087, allocations: 0.5986 MB / 1.185 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.087, allocations: 0 / 1.185 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001174/1.088, allocations: 0.7381 MB / 1.186 GB, free: 15.92 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/1.088, allocations: 41.64 kB / 1.186 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.088, allocations: 8.844 kB / 1.186 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.088, allocations: 12 kB / 1.186 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/1.088, allocations: 83.77 kB / 1.186 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.088, allocations: 12 kB / 1.186 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/1.089, allocations: 97.7 kB / 1.186 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/1.089, allocations: 39.98 kB / 1.186 GB, free: 15.62 MB / 0.92 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.0003329/1.089, allocations: 288.2 kB / 1.187 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/1.089, allocations: 39.77 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/1.09, allocations: 0.585 MB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.09, allocations: 3.984 kB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.09, allocations: 0 / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/1.091, allocations: 120.8 kB / 1.187 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/1.091, allocations: 23.98 kB / 1.187 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/1.091, allocations: 23.92 kB / 1.188 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.091, allocations: 72.48 kB / 1.188 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001136/1.092, allocations: 0.9841 MB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009965/1.093, allocations: 1.053 MB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004079/1.094, allocations: 292.3 kB / 1.19 GB, free: 12.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001688/1.094, allocations: 190 kB / 1.19 GB, free: 11.9 MB / 0.92 GB Notification: Performance of Backend: time 6.11e-07/1.094, allocations: 0 / 1.19 GB, free: 11.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001444/1.095, allocations: 0.5488 MB / 1.191 GB, free: 11.34 MB / 0.92 GB Notification: Performance of SimCode: time 0.001479/1.097, allocations: 1.206 MB / 1.192 GB, free: 10.08 MB / 0.92 GB Notification: Performance of Templates: time 0.0122/1.109, allocations: 6.969 MB / 1.199 GB, free: 3.18 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches