Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006373/0.006373, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001349/0.001349, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.492/2.492, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64 kB / 0.9509 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3467, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002363/0.3491, allocations: 0.7468 MB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3513, allocations: 1.262 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.3515, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.3515, allocations: 3.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3517, allocations: 19.8 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008929/0.3526, allocations: 253.4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.353, allocations: 259.6 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3531, allocations: 16.22 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3533, allocations: 103.8 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.3535, allocations: 103.7 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.3536, allocations: 20 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.3537, allocations: 39.98 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.3538, allocations: 31.91 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.3539, allocations: 91.73 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.3543, allocations: 219.2 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3543, allocations: 4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.055e-06/0.3544, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.3544, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 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.001165/0.3555, allocations: 0.5023 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/0.3556, allocations: 8.031 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3557, allocations: 16.89 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.3565, allocations: 252.3 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.3566, allocations: 20.36 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.3566, allocations: 16.38 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.357, allocations: 139.2 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.357, allocations: 7.922 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3571, allocations: 11.98 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3571, allocations: 3.938 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3573, allocations: 59.95 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3583, allocations: 0.5123 MB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.3586, allocations: 157.2 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3587, allocations: 65.7 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3588, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005597/0.3593, allocations: 206.2 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.043e-06/0.3593, allocations: 7.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006619/0.36, allocations: 305.5 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.3601, allocations: 89.05 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3602, allocations: 130 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.3603, allocations: 41.69 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.3604, allocations: 92.7 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.3604, allocations: 59.52 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3606, allocations: 77.67 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3607, allocations: 326.8 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3609, allocations: 84.23 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3612, allocations: 152.7 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3615, allocations: 246.5 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3615, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000588/0.3621, allocations: 365 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.3622, allocations: 63.39 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3622, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3622, allocations: 4 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3624, allocations: 23.92 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3624, allocations: 7.938 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.3628, allocations: 68.05 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.3628, allocations: 15.98 kB / 1.095 GB, free: 9.898 MB / 0.8575 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.0001884/0.363, allocations: 140 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.363, allocations: 15.94 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.3631, allocations: 12.5 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3631, allocations: 11.94 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3631, allocations: 3.938 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3631, allocations: 0 / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.3638, allocations: 0.6187 MB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3638, allocations: 0 / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.3638, allocations: 11.94 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3638, allocations: 3.938 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3639, allocations: 15.98 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3639, allocations: 0 / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3639, allocations: 7.938 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.3643, allocations: 417.4 kB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.3644, allocations: 89.02 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3644, allocations: 15.92 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3646, allocations: 11.98 kB / 1.096 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.3646, allocations: 27.89 kB / 1.096 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3647, allocations: 23.98 kB / 1.096 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.3647, allocations: 95.02 kB / 1.096 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3647, allocations: 0 / 1.096 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003537/0.3651, allocations: 52 kB / 1.097 GB, free: 8.246 MB / 0.8575 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.0001973/0.3653, allocations: 123.2 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006078/0.3659, allocations: 346.9 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3659, allocations: 4.062 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.3661, allocations: 123.9 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3665, allocations: 33.16 kB / 1.097 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.3671, allocations: 264.3 kB / 1.097 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3675, allocations: 0.7086 MB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.297e-05/0.3675, allocations: 13.55 kB / 1.098 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3676, allocations: 23.42 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3676, allocations: 0 / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of Templates: time 0.005758/0.3733, allocations: 2.694 MB / 1.101 GB, free: 3.867 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches