Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 105.7 kB / 16.41 MB, free: 6.488 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.001854/0.001854, allocations: 187 kB / 17.34 MB, free: 5.73 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.57/2.57, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7824, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001876/0.7843, allocations: 0.7284 MB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.7859, allocations: 1.256 MB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.786, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.453e-05/0.786, allocations: 11.88 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.7861, allocations: 19.78 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.7868, allocations: 238.6 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.7872, allocations: 267.5 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.7873, allocations: 16.23 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.7874, allocations: 107.7 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.7876, allocations: 95.73 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.7877, allocations: 24 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.7878, allocations: 35.97 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.7878, allocations: 39.84 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.7879, allocations: 91.72 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.7882, allocations: 231.2 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7882, allocations: 0 / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7882, allocations: 0 / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.7883, allocations: 0 / 1.212 GB, free: 10.45 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007418/0.789, allocations: 492.5 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.789, allocations: 8.031 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.7891, allocations: 24.73 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.7897, allocations: 260.3 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.7898, allocations: 12.38 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.7898, allocations: 24.36 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.7901, allocations: 123.9 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7901, allocations: 7.875 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.7901, allocations: 7.984 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7901, allocations: 0 / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.7902, allocations: 63.95 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.7911, allocations: 0.5123 MB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.7914, allocations: 161.2 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.7915, allocations: 61.69 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.7915, allocations: 3.938 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/0.792, allocations: 209 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.792, allocations: 0 / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0005648/0.7925, allocations: 313.3 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.7926, allocations: 93.03 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.7927, allocations: 129.2 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.7928, allocations: 37.7 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.7929, allocations: 104.6 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.7929, allocations: 55.34 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.793, allocations: 65.69 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7932, allocations: 326.8 kB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.7934, allocations: 88.22 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.7936, allocations: 157.1 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.7939, allocations: 254.8 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7939, allocations: 0 / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005597/0.7945, allocations: 348.7 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.7945, allocations: 71.39 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7946, allocations: 0 / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7946, allocations: 4 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.7947, allocations: 20.14 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.7947, allocations: 11.94 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.7951, allocations: 63.78 kB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.7951, allocations: 19.98 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001299/0.7953, allocations: 144 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.7953, allocations: 19.81 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.7953, allocations: 16.5 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.7954, allocations: 3.984 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.7954, allocations: 7.938 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7954, allocations: 0 / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.796, allocations: 0.6084 MB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.796, allocations: 7.984 kB / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.7961, allocations: 7.984 kB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.7961, allocations: 7.938 kB / 1.216 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.7961, allocations: 7.984 kB / 1.216 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.7961, allocations: 7.938 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7961, allocations: 4 kB / 1.216 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.7965, allocations: 421.2 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.7966, allocations: 89 kB / 1.217 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.7966, allocations: 11.94 kB / 1.217 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.7968, allocations: 11.98 kB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.7968, allocations: 31.95 kB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.7969, allocations: 12 kB / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.7969, allocations: 98.27 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.887e-06/0.7969, allocations: 0 / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003534/0.7973, allocations: 59.92 kB / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.7975, allocations: 119.2 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.798, allocations: 350.6 kB / 1.217 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.798, allocations: 0 / 1.217 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.7982, allocations: 115.8 kB / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.7986, allocations: 30.42 kB / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.7991, allocations: 306.5 kB / 1.218 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.7994, allocations: 0.7047 MB / 1.219 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.7995, allocations: 19.44 kB / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.7995, allocations: 0 / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of Templates: time 0.004351/0.8039, allocations: 2.272 MB / 1.221 GB, free: 404 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time