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.008092/0.008099, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.00164/0.00164, allocations: 190 kB / 16.67 MB, free: 6.379 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.624/1.624, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.1/3.1, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 67.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4121, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002098/0.4143, allocations: 0.7366 MB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.416, allocations: 1.256 MB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.4161, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.4162, allocations: 3.938 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.4163, allocations: 23.78 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.4171, allocations: 246.9 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.4174, allocations: 267.6 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.4176, allocations: 12.23 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.4177, allocations: 103.8 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.4179, allocations: 95.73 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.4179, allocations: 20 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.418, allocations: 39.98 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.4181, allocations: 35.89 kB / 1.211 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.4182, allocations: 91.73 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.4185, allocations: 231.3 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4185, allocations: 4 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4185, allocations: 0 / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4185, allocations: 0 / 1.211 GB, free: 6.477 MB / 0.9669 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.0008653/0.4194, allocations: 0.4907 MB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4195, allocations: 8.625 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.4196, allocations: 20.83 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.4202, allocations: 248.4 kB / 1.212 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.4202, allocations: 8.375 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.4203, allocations: 32.3 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.4205, allocations: 127.9 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4205, allocations: 3.938 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.4206, allocations: 7.984 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4206, allocations: 0 / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.4207, allocations: 63.89 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.4216, allocations: 0.5124 MB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.4219, allocations: 157.7 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.422, allocations: 61.69 kB / 1.213 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.422, allocations: 8 kB / 1.213 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.4224, allocations: 203.2 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.4224, allocations: 7.938 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22): time 0.0005818/0.423, allocations: 318.9 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.4231, allocations: 85.05 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.4232, allocations: 130 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.4232, allocations: 41.7 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.4233, allocations: 100.7 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.4234, allocations: 47.41 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4235, allocations: 81.62 kB / 1.213 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4236, allocations: 334.8 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.4238, allocations: 88.22 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.4241, allocations: 148.7 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.4244, allocations: 248.5 kB / 1.214 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4244, allocations: 0 / 1.214 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005686/0.425, allocations: 353.6 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.425, allocations: 67.34 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.4251, allocations: 4 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.4251, allocations: 4 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.4252, allocations: 16.36 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.4252, allocations: 11.88 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.4256, allocations: 68 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.4256, allocations: 19.98 kB / 1.215 GB, free: 2.051 MB / 0.9669 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.0001814/0.4258, allocations: 151.9 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.4259, allocations: 15.81 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/0.4259, allocations: 20.47 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4259, allocations: 4 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.426, allocations: 7.938 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.426, allocations: 0 / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.4267, allocations: 0.6009 MB / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4267, allocations: 0 / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.4267, allocations: 19.92 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.4267, allocations: 3.938 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4268, allocations: 7.984 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4268, allocations: 0 / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4268, allocations: 4 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.4273, allocations: 422.4 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.4273, allocations: 96.88 kB / 1.216 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.4274, allocations: 11.94 kB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4275, allocations: 7.984 kB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.4276, allocations: 27.95 kB / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.4276, allocations: 12 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.4277, allocations: 95.27 kB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4277, allocations: 0 / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003654/0.4281, allocations: 59.98 kB / 1.216 GB, free: 408 kB / 0.9669 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.0002347/0.4283, allocations: 115.2 kB / 1.216 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.4289, allocations: 354 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4289, allocations: 448 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.4291, allocations: 119.9 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.4295, allocations: 32.12 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.4301, allocations: 280.2 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4304, allocations: 0.7086 MB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.161e-05/0.4305, allocations: 17.55 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.4306, allocations: 15.44 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.4306, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.006288/0.4369, allocations: 2.798 MB / 1.221 GB, free: 11.92 MB / 0.9825 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