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.006951/0.006951, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001252/0.001252, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7452 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.12 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4143, allocations: 159.9 MB / 1.226 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002379/0.4168, allocations: 0.7406 MB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.4186, allocations: 1.252 MB / 1.228 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.4187, allocations: 3.938 kB / 1.228 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.4188, allocations: 3.938 kB / 1.228 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.4189, allocations: 31.72 kB / 1.228 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.4197, allocations: 248.7 kB / 1.228 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.4201, allocations: 263.5 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4202, allocations: 24.2 kB / 1.228 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.4204, allocations: 95.86 kB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.4206, allocations: 99.73 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.4206, allocations: 20 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.4207, allocations: 39.98 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.4208, allocations: 31.91 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.4209, allocations: 87.75 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.4213, allocations: 223.3 kB / 1.229 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4213, allocations: 0 / 1.229 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4213, allocations: 4 kB / 1.229 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.4213, allocations: 0 / 1.229 GB, free: 6.023 MB / 0.9825 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.0009088/0.4222, allocations: 0.4984 MB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4223, allocations: 11.97 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.4223, allocations: 20.84 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.4229, allocations: 240.4 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.423, allocations: 24.36 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.423, allocations: 16.38 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.4233, allocations: 138.7 kB / 1.23 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4233, allocations: 3.938 kB / 1.23 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.4234, allocations: 4 kB / 1.23 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.4234, allocations: 0 / 1.23 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4235, allocations: 59.95 kB / 1.23 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.4244, allocations: 0.5201 MB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.4247, allocations: 153.2 kB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.4248, allocations: 81.69 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4248, allocations: 4 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.4251, allocations: 200.9 kB / 1.231 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.4251, allocations: 0 / 1.231 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006156/0.4258, allocations: 321.6 kB / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.4259, allocations: 89.05 kB / 1.231 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.426, allocations: 124.7 kB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.426, allocations: 45.64 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.4261, allocations: 100.8 kB / 1.231 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.4262, allocations: 55.62 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.4264, allocations: 77.67 kB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4265, allocations: 322.8 kB / 1.232 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.4267, allocations: 92.23 kB / 1.232 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.4269, allocations: 164.1 kB / 1.232 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.4273, allocations: 243 kB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.4273, allocations: 0 / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00058/0.4279, allocations: 360.7 kB / 1.232 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.4279, allocations: 59.41 kB / 1.233 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.428, allocations: 7.984 kB / 1.233 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.428, allocations: 4 kB / 1.233 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4281, allocations: 15.94 kB / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4281, allocations: 3.938 kB / 1.233 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.4285, allocations: 76.03 kB / 1.233 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.4285, allocations: 16 kB / 1.233 GB, free: 1.57 MB / 0.9825 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.0001572/0.4287, allocations: 144.5 kB / 1.233 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.4287, allocations: 15.91 kB / 1.233 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.4288, allocations: 16.48 kB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.4288, allocations: 8 kB / 1.233 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.4288, allocations: 3.938 kB / 1.233 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4288, allocations: 0 / 1.233 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.4295, allocations: 0.6166 MB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4295, allocations: 0 / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.4295, allocations: 8 kB / 1.233 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.4295, allocations: 3.938 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.4296, allocations: 19.86 kB / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4296, allocations: 0 / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4296, allocations: 4 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.4301, allocations: 420.6 kB / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.4301, allocations: 92.95 kB / 1.234 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.4302, allocations: 15.92 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4303, allocations: 11.98 kB / 1.234 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.4304, allocations: 19.97 kB / 1.234 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4304, allocations: 19.98 kB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.172e-05/0.4305, allocations: 95.27 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4305, allocations: 3.938 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003404/0.4309, allocations: 52 kB / 1.234 GB, free: 15.92 MB / 0.9981 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.0002104/0.4311, allocations: 111.2 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.4316, allocations: 346.9 kB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4316, allocations: 4.125 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.4318, allocations: 127.2 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.4322, allocations: 33.62 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.4328, allocations: 282.6 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4331, allocations: 0.7089 MB / 1.236 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.836e-05/0.4332, allocations: 13.55 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.4332, allocations: 19.44 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.4332, allocations: 3.938 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.006545/0.4398, allocations: 2.688 MB / 1.238 GB, free: 11.53 MB / 0.9981 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