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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001775/0.001775, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.422/1.422, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437 MB / 0.7106 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.89 kB / 0.8692 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7618, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002432/0.7643, allocations: 0.8161 MB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.7662, allocations: 1.276 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.7664, allocations: 8 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.7664, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.7666, allocations: 7.922 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.7673, allocations: 231.3 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.7676, allocations: 219.6 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.7677, allocations: 24.2 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.7679, allocations: 91.8 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.7681, allocations: 83.75 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.093e-05/0.7682, allocations: 12.05 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.7683, allocations: 31.88 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.7684, allocations: 27.91 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.7685, allocations: 79.75 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.7687, allocations: 157.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7687, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7688, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7688, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 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.0008523/0.7696, allocations: 0.4946 MB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.7697, allocations: 11.98 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.7698, allocations: 16.84 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.7705, allocations: 253.5 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.7705, allocations: 16.36 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.7706, allocations: 20.36 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.7708, allocations: 127.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7709, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.7709, allocations: 15.92 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7709, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.7711, allocations: 63.95 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.7719, allocations: 0.5122 MB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.7722, allocations: 165.2 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.7724, allocations: 69.69 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.7724, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.7728, allocations: 212 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.7728, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0006147/0.7735, allocations: 307.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.7735, allocations: 97.17 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.7737, allocations: 130 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.7737, allocations: 41.7 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.7738, allocations: 96.7 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.7739, allocations: 51.34 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.774, allocations: 73.67 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7741, allocations: 322.8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.7743, allocations: 84.23 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.7746, allocations: 160.5 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.7749, allocations: 250.8 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7749, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006102/0.7755, allocations: 356.6 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/0.7756, allocations: 67.39 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7756, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.7756, allocations: 4.219 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.7758, allocations: 27.92 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.7758, allocations: 7.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.7762, allocations: 71.66 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.7762, allocations: 15.98 kB / 1.024 GB, free: 11.25 MB / 0.7794 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.0001653/0.7764, allocations: 144.6 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.7764, allocations: 15.84 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.7765, allocations: 16.5 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7765, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7765, allocations: 7.938 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7765, allocations: 7.984 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.7772, allocations: 0.6069 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7772, allocations: 4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.7773, allocations: 7.938 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.7773, allocations: 11.92 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.7773, allocations: 4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7773, allocations: 4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7774, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.7778, allocations: 422.6 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.7779, allocations: 88.92 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.7779, allocations: 15.92 kB / 1.026 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.7781, allocations: 11.98 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.7782, allocations: 27.91 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.7782, allocations: 11.98 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.7783, allocations: 99.27 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7783, allocations: 0 / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003833/0.7787, allocations: 51.98 kB / 1.026 GB, free: 9.609 MB / 0.7794 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.0002072/0.7789, allocations: 123.2 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.7794, allocations: 343.9 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7794, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.7796, allocations: 115.9 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.78, allocations: 32.34 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.7806, allocations: 331.8 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.7809, allocations: 0.7089 MB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.781, allocations: 15.44 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of SimCode: time 4.2e-07/0.781, allocations: 0 / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.004735/0.7857, allocations: 2.246 MB / 1.03 GB, free: 5.633 MB / 0.7794 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