Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001555/0.001555, allocations: 109.2 kB / 16.41 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.001811/0.001811, allocations: 181.6 kB / 17.34 MB, free: 5.762 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.19 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.535/2.535, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9766/0.9782, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001818/0.9801, allocations: 0.746 MB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.9816, allocations: 1.259 MB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.9817, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.9817, allocations: 11.94 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.9818, allocations: 23.78 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.9825, allocations: 245.1 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.9828, allocations: 271.5 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.9829, allocations: 16.23 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.983, allocations: 103.8 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.9832, allocations: 87.75 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.9832, allocations: 27.94 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.906e-05/0.9833, allocations: 35.98 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.9833, allocations: 35.89 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.9834, allocations: 91.73 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.9837, allocations: 231.1 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.9837, allocations: 0 / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9837, allocations: 4 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9837, allocations: 0 / 1.17 GB, free: 0.6328 MB / 0.8887 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.0006998/0.9844, allocations: 492.5 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.9845, allocations: 16.88 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.9845, allocations: 24.73 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.9851, allocations: 245.6 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.9852, allocations: 12.38 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.9852, allocations: 28.34 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.9854, allocations: 135.8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.9855, allocations: 3.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.9855, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9855, allocations: 4 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.9856, allocations: 55.95 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.9864, allocations: 0.5201 MB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.9867, allocations: 165.2 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.9868, allocations: 61.69 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.9868, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003716/0.9872, allocations: 210.5 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.866e-06/0.9872, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.0005492/0.9877, allocations: 319.1 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.9878, allocations: 89.2 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.9879, allocations: 127.3 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.9879, allocations: 33.7 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.988, allocations: 108.6 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.9881, allocations: 55.34 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.9882, allocations: 69.69 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9883, allocations: 331.2 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.9885, allocations: 84.23 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.9887, allocations: 152.2 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.989, allocations: 260.1 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.989, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005699/0.9896, allocations: 352.7 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.9897, allocations: 63.41 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.9897, allocations: 0 / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.9897, allocations: 4 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.9899, allocations: 23.92 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.9899, allocations: 8.156 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.9903, allocations: 75.77 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.9903, allocations: 20 kB / 1.174 GB, free: 12.2 MB / 0.9044 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.000129/0.9904, allocations: 136 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.9905, allocations: 15.81 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.9905, allocations: 24.48 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.9905, allocations: 4 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9905, allocations: 7.875 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9905, allocations: 0 / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.9912, allocations: 0.604 MB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.9912, allocations: 0 / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.9912, allocations: 11.92 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.9912, allocations: 7.938 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.9913, allocations: 15.98 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9913, allocations: 96 / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9913, allocations: 3.938 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.9917, allocations: 424.2 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.9917, allocations: 85.02 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.9918, allocations: 11.94 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.9919, allocations: 11.98 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.992, allocations: 31.89 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.992, allocations: 12 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.9921, allocations: 103.1 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9921, allocations: 0 / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000361/0.9925, allocations: 63.98 kB / 1.176 GB, free: 10.55 MB / 0.9044 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.0001698/0.9926, allocations: 112.8 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.9932, allocations: 354.6 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9932, allocations: 0 / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.9933, allocations: 115.9 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.9937, allocations: 27.91 kB / 1.176 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.9943, allocations: 304.1 kB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.9946, allocations: 0.709 MB / 1.177 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.9946, allocations: 19.44 kB / 1.177 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.9946, allocations: 0 / 1.177 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.004311/0.9989, allocations: 2.277 MB / 1.18 GB, free: 6.574 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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