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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001556/0.001556, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002063/0.002063, allocations: 188 kB / 16.25 MB, free: 6.637 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.603/1.603, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 73.98 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4219, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002604/0.4246, allocations: 0.7917 MB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.4263, allocations: 1.256 MB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.4263, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.4264, allocations: 7.922 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.427e-05/0.4265, allocations: 15.86 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.4273, allocations: 227 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.4276, allocations: 263.5 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.4278, allocations: 20.2 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.4279, allocations: 103.9 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.4281, allocations: 79.77 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.4281, allocations: 24 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.4282, allocations: 35.98 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.4283, allocations: 35.84 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.4284, allocations: 95.73 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.4288, allocations: 231.6 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4288, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4288, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.4288, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 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.0008404/0.4296, allocations: 498.6 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4297, allocations: 8.031 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.4298, allocations: 24.73 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.4304, allocations: 251.8 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.4305, allocations: 12.36 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.4305, allocations: 28.38 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.4308, allocations: 131.9 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4308, allocations: 3.938 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.4309, allocations: 7.938 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4309, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.431, allocations: 59.95 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/0.4319, allocations: 0.5163 MB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.4321, allocations: 153.2 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.4323, allocations: 73.67 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4323, allocations: 3.938 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.4327, allocations: 200.9 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.4327, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0006454/0.4333, allocations: 317.2 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.4334, allocations: 85.05 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4336, allocations: 133.1 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.4336, allocations: 41.7 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.4337, allocations: 100.8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.4338, allocations: 47.78 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.4339, allocations: 73.67 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4341, allocations: 330.8 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.4343, allocations: 80.23 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.4345, allocations: 160.1 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.4349, allocations: 258.9 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4349, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005574/0.4354, allocations: 360.7 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.4355, allocations: 67.39 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4355, allocations: 4 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4356, allocations: 4 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.4357, allocations: 15.94 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4357, allocations: 7.938 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.436, allocations: 71.98 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.4361, allocations: 19.98 kB / 1.075 GB, free: 3.129 MB / 0.8262 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.0001361/0.4362, allocations: 141.7 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.4362, allocations: 23.8 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.4363, allocations: 8.5 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4363, allocations: 8 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4363, allocations: 3.938 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4363, allocations: 4 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.4369, allocations: 0.607 MB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.437, allocations: 0 / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.437, allocations: 12 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.437, allocations: 4.031 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.437, allocations: 11.92 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4371, allocations: 8 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4371, allocations: 3.938 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.4375, allocations: 418.5 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.4375, allocations: 88.95 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.4376, allocations: 15.92 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4377, allocations: 7.984 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.4378, allocations: 27.97 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.4378, allocations: 19.92 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.4379, allocations: 98.52 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4379, allocations: 0 / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003426/0.4383, allocations: 52 kB / 1.076 GB, free: 1.488 MB / 0.8262 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.0002152/0.4385, allocations: 117 kB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.439, allocations: 363.9 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.439, allocations: 0 / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4392, allocations: 115.9 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4396, allocations: 31.91 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.4401, allocations: 296.8 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4405, allocations: 0.7086 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.852e-05/0.4405, allocations: 21.55 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.4406, allocations: 19.42 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4406, allocations: 0 / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.005902/0.4465, allocations: 2.629 MB / 1.081 GB, free: 13.14 MB / 0.8419 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches