Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.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.TrueHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truHol.u|truHol.y|booPul1.y|truHol1.y|truHol2.u|truHol2.y|truHol3.u|truHol3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truHol.u|truHol.y|booPul1.y|truHol1.y|truHol2.u|truHol2.y|truHol3.u|truHol3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 114 kB / 16.42 MB, free: 6.402 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.001719/0.001719, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.472/1.472, allocations: 222.9 MB / 241.1 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.856/2.856, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold): time 0.005661/1.021, allocations: 2.828 MB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003783/1.024, allocations: 1.687 MB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/1.025, allocations: 19.88 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/1.026, allocations: 114.6 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005527/1.026, allocations: 114.8 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/1.029, allocations: 0.9657 MB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002467/1.032, allocations: 1.677 MB / 1.216 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/1.033, allocations: 0.9102 MB / 1.217 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/1.034, allocations: 0.5649 MB / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/1.035, allocations: 0.5641 MB / 1.218 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/1.035, allocations: 168 kB / 1.218 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/1.036, allocations: 196 kB / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/1.036, allocations: 315.2 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/1.037, allocations: 0.603 MB / 1.219 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/1.038, allocations: 1.754 MB / 1.221 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.038, allocations: 0 / 1.221 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.038, allocations: 0 / 1.221 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.576e-05/1.038, allocations: 0 / 1.221 GB, free: 1.168 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002067/1.04, allocations: 1.405 MB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.04, allocations: 8.031 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/1.041, allocations: 123.8 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/1.041, allocations: 0.5804 MB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.042, allocations: 106.4 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/1.042, allocations: 140.3 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/1.044, allocations: 1.201 MB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.044, allocations: 8.125 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.044, allocations: 55.92 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/1.044, allocations: 27.98 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/1.045, allocations: 0.7365 MB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005062/1.05, allocations: 5.114 MB / 1.23 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/1.052, allocations: 0.7975 MB / 1.231 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/1.052, allocations: 406.2 kB / 1.231 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/1.052, allocations: 19.94 kB / 1.231 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.053, allocations: 0.6397 MB / 1.232 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=100): time 3.406e-06/1.053, allocations: 0 / 1.232 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100): time 0.002172/1.055, allocations: 1.159 MB / 1.233 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/1.056, allocations: 373.9 kB / 1.233 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/1.056, allocations: 460.6 kB / 1.234 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/1.056, allocations: 94.41 kB / 1.234 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/1.057, allocations: 388.5 kB / 1.234 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/1.057, allocations: 245 kB / 1.234 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/1.057, allocations: 367.3 kB / 1.235 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.058, allocations: 326 kB / 1.235 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007491/1.058, allocations: 399.8 kB / 1.235 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.059, allocations: 0.8557 MB / 1.236 GB, free: 280 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/1.061, allocations: 1.223 MB / 1.237 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.061, allocations: 4 kB / 1.237 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00264/1.064, allocations: 1.474 MB / 1.239 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.064, allocations: 138.8 kB / 1.239 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.064, allocations: 12 kB / 1.239 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/1.064, allocations: 28.06 kB / 1.239 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/1.064, allocations: 167.5 kB / 1.239 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.692e-05/1.064, allocations: 27.88 kB / 1.239 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.066, allocations: 222.6 kB / 1.239 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/1.066, allocations: 83.97 kB / 1.239 GB, free: 12.62 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 148 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$PRE.truHol.onDelay.t_next,$whenCondition18,$whenCondition16,$whenCondition17,truHol.toInitial.enableFire,truHol.toOutputTrue.enableFire,truHol.outputTrue.active,truHol.outputTrue.oldActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.localActive,truHol.initialStep.oldActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.localActive,truHol.initialStep.active,truHol.onDelay.y,truHol.onDelay.u,truHol.stateGraphRoot.activeSteps,booPul.y,$PRE.booPul.y,$whenCondition20,$whenCondition19,truHol.onDelay.t_next,truHol.toOutputTrue.t_start,$PRE.truHol.toOutputTrue.t_start,truHol.toInitial.t_start,$PRE.truHol.toInitial.t_start,$PRE.truHol1.onDelay.t_next,$whenCondition13,$whenCondition11,$whenCondition12,truHol1.toInitial.enableFire,truHol1.toOutputTrue.enableFire,truHol1.outputTrue.active,truHol1.outputTrue.oldActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.localActive,truHol1.initialStep.oldActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.active,truHol1.onDelay.y,truHol1.onDelay.u,truHol1.stateGraphRoot.activeSteps,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition14,truHol1.onDelay.t_next,truHol1.toOutputTrue.t_start,$PRE.truHol1.toOutputTrue.t_start,truHol1.toInitial.t_start,$PRE.truHol1.toInitial.t_start,$PRE.truHol2.onDelay.t_next,$whenCondition8,$whenCondition6,$whenCondition7,truHol2.toInitial.enableFire,truHol2.toOutputTrue.enableFire,truHol2.outputTrue.active,truHol2.outputTrue.oldActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.localActive,truHol2.initialStep.oldActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.active,truHol2.onDelay.y,truHol2.onDelay.u,truHol2.stateGraphRoot.activeSteps,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition9,truHol2.onDelay.t_next,truHol2.toOutputTrue.t_start,$PRE.truHol2.toOutputTrue.t_start,truHol2.toInitial.t_start,$PRE.truHol2.toInitial.t_start,$PRE.truHol3.onDelay.t_next,$whenCondition3,$whenCondition1,$whenCondition2,truHol3.toInitial.enableFire,truHol3.toOutputTrue.enableFire,truHol3.outputTrue.active,truHol3.outputTrue.oldActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.localActive,truHol3.initialStep.oldActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.active,truHol3.onDelay.y,truHol3.onDelay.u,truHol3.stateGraphRoot.activeSteps,booPul3.y,$PRE.booPul3.y,$whenCondition5,$whenCondition4,truHol3.onDelay.t_next,truHol3.toOutputTrue.t_start,$PRE.truHol3.toOutputTrue.t_start,truHol3.toInitial.t_start,$PRE.truHol3.toInitial.t_start,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 4 * 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.0007073/1.066, allocations: 401 kB / 1.24 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.067, allocations: 75.17 kB / 1.24 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.068, allocations: 0.89 MB / 1.241 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.068, allocations: 15.97 kB / 1.241 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.068, allocations: 4 kB / 1.241 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/1.068, allocations: 144.2 kB / 1.241 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.068, allocations: 39.97 kB / 1.241 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/1.069, allocations: 27.97 kB / 1.241 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/1.069, allocations: 103.8 kB / 1.241 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001897/1.071, allocations: 1.854 MB / 1.243 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001866/1.073, allocations: 1.91 MB / 1.245 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006854/1.073, allocations: 450.3 kB / 1.245 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002498/1.074, allocations: 231.2 kB / 1.245 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of Backend: time 5.51e-07/1.074, allocations: 0 / 1.245 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003061/1.077, allocations: 1.1 MB / 1.247 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002473/1.079, allocations: 1.637 MB / 1.248 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of Templates: time 0.02323/1.102, allocations: 11.39 MB / 1.259 GB, free: 8.309 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TrueHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches