Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.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.TrueHoldWithReset,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 117 kB / 16.42 MB, free: 6.512 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.002184/0.002184, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 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.632/2.632, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.004712/1.036, allocations: 2.844 MB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00321/1.039, allocations: 1.692 MB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/1.04, allocations: 19.88 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00049/1.04, allocations: 114.6 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003814/1.041, allocations: 114.8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/1.043, allocations: 0.9647 MB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001929/1.045, allocations: 1.681 MB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/1.046, allocations: 0.9218 MB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/1.047, allocations: 0.561 MB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/1.048, allocations: 0.5681 MB / 1.177 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/1.048, allocations: 168 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/1.048, allocations: 195.9 kB / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/1.049, allocations: 307.3 kB / 1.177 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006733/1.049, allocations: 0.6069 MB / 1.178 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/1.052, allocations: 1.76 MB / 1.18 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.052, allocations: 0 / 1.18 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.826e-06/1.052, allocations: 0 / 1.18 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.722e-05/1.052, allocations: 0 / 1.18 GB, free: 7.305 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002511/1.054, allocations: 1.424 MB / 1.181 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/1.054, allocations: 12.92 kB / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/1.055, allocations: 128.3 kB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009981/1.056, allocations: 0.573 MB / 1.182 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/1.056, allocations: 106.4 kB / 1.182 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/1.056, allocations: 140.3 kB / 1.182 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/1.058, allocations: 1.205 MB / 1.183 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/1.058, allocations: 4.125 kB / 1.183 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.058, allocations: 51.92 kB / 1.183 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/1.058, allocations: 27.98 kB / 1.183 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/1.059, allocations: 0.7326 MB / 1.184 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/1.065, allocations: 5.13 MB / 1.189 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.066, allocations: 0.8067 MB / 1.19 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/1.067, allocations: 414.1 kB / 1.19 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.054e-05/1.067, allocations: 8 kB / 1.19 GB, free: 12 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009658/1.068, allocations: 0.636 MB / 1.191 GB, free: 11.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=100): time 3.357e-06/1.068, allocations: 0 / 1.191 GB, free: 11.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=100): time 0.002279/1.07, allocations: 1.168 MB / 1.192 GB, free: 10.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003057/1.071, allocations: 371.1 kB / 1.192 GB, free: 9.715 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/1.071, allocations: 469 kB / 1.193 GB, free: 9.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002402/1.072, allocations: 93.69 kB / 1.193 GB, free: 9.148 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/1.072, allocations: 393.7 kB / 1.193 GB, free: 8.758 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/1.072, allocations: 250.2 kB / 1.193 GB, free: 8.512 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/1.073, allocations: 363.5 kB / 1.194 GB, free: 8.148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.073, allocations: 326 kB / 1.194 GB, free: 7.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008378/1.074, allocations: 399.8 kB / 1.194 GB, free: 7.434 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/1.075, allocations: 0.8596 MB / 1.195 GB, free: 6.363 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/1.077, allocations: 1.229 MB / 1.196 GB, free: 4.902 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/1.077, allocations: 4 kB / 1.196 GB, free: 4.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002651/1.08, allocations: 1.48 MB / 1.198 GB, free: 3.387 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.08, allocations: 138.8 kB / 1.198 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/1.08, allocations: 12 kB / 1.198 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/1.08, allocations: 24 kB / 1.198 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/1.08, allocations: 159.5 kB / 1.198 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.441e-05/1.08, allocations: 31.88 kB / 1.198 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.082, allocations: 227.2 kB / 1.198 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.082, allocations: 83.97 kB / 1.198 GB, free: 2.699 MB / 0.92 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.0007485/1.082, allocations: 401 kB / 1.199 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.083, allocations: 79.5 kB / 1.199 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.084, allocations: 0.8887 MB / 1.2 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.084, allocations: 11.97 kB / 1.2 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.084, allocations: 4 kB / 1.2 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.085, allocations: 144.5 kB / 1.2 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.085, allocations: 39.97 kB / 1.2 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/1.085, allocations: 31.91 kB / 1.2 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/1.085, allocations: 115.7 kB / 1.2 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002008/1.087, allocations: 1.852 MB / 1.202 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002048/1.089, allocations: 1.904 MB / 1.204 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000663/1.09, allocations: 452.9 kB / 1.204 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002587/1.09, allocations: 231.2 kB / 1.204 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of Backend: time 3.11e-07/1.09, allocations: 0 / 1.204 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003254/1.093, allocations: 1.111 MB / 1.206 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002578/1.096, allocations: 1.646 MB / 1.207 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.02175/1.118, allocations: 11.4 MB / 1.218 GB, free: 14.36 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TrueHoldWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches