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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001649/0.001649, allocations: 107.8 kB / 16.27 MB, free: 6.41 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.001805/0.001805, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437.1 MB / 0.711 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 64.36 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3361, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002243/0.3384, allocations: 0.741 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3403, allocations: 1.262 MB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.3404, allocations: 0 / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.3404, allocations: 7.875 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.3405, allocations: 19.84 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.3413, allocations: 241.8 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.3417, allocations: 263.6 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3418, allocations: 24.14 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3419, allocations: 95.88 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.3421, allocations: 83.75 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.3422, allocations: 31.94 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3423, allocations: 35.98 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.3423, allocations: 35.89 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.3425, allocations: 95.72 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.3428, allocations: 219.7 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3428, allocations: 3.938 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3428, allocations: 0 / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3428, allocations: 0 / 1.021 GB, free: 7.445 MB / 0.795 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.0007811/0.3436, allocations: 0.4946 MB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3436, allocations: 12.88 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.3437, allocations: 16.84 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.3444, allocations: 257.4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.3444, allocations: 12.38 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.3445, allocations: 24.3 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.3447, allocations: 135.9 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3448, allocations: 3.938 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3448, allocations: 4 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3448, allocations: 0 / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3449, allocations: 63.89 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008596/0.3458, allocations: 0.5124 MB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.3461, allocations: 161.2 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3462, allocations: 65.69 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.3463, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.3467, allocations: 207 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.3467, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=22): time 0.0005949/0.3473, allocations: 314.7 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.3474, allocations: 93.05 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3475, allocations: 135.3 kB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.3475, allocations: 37.7 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.3476, allocations: 96.69 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.3477, allocations: 51.41 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3478, allocations: 73.62 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.348, allocations: 330.8 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.3482, allocations: 84.23 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.3484, allocations: 148.7 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.3488, allocations: 246.6 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.3488, allocations: 3.938 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006176/0.3494, allocations: 356.6 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.3495, allocations: 71.34 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3495, allocations: 0 / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3495, allocations: 4 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3496, allocations: 15.98 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.3496, allocations: 12.25 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.35, allocations: 71.98 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.3501, allocations: 16 kB / 1.025 GB, free: 3.016 MB / 0.795 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.0001924/0.3503, allocations: 148 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.3503, allocations: 15.84 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.3504, allocations: 20.48 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3504, allocations: 0 / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3504, allocations: 11.94 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3504, allocations: 0 / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.3511, allocations: 0.6109 MB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3511, allocations: 4 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.3512, allocations: 11.92 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.3512, allocations: 7.938 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3512, allocations: 7.984 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3512, allocations: 4 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3513, allocations: 4 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.3517, allocations: 414.5 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.3518, allocations: 92.86 kB / 1.026 GB, free: 1.578 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3518, allocations: 11.94 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.352, allocations: 15.98 kB / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.3521, allocations: 27.95 kB / 1.026 GB, free: 1.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3521, allocations: 12 kB / 1.026 GB, free: 1.512 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.3522, allocations: 99.27 kB / 1.026 GB, free: 1.414 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3522, allocations: 0 / 1.026 GB, free: 1.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003788/0.3526, allocations: 51.98 kB / 1.027 GB, free: 1.363 MB / 0.795 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.0002391/0.3528, allocations: 123.1 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.3534, allocations: 354.6 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3534, allocations: 8.125 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3536, allocations: 119.8 kB / 1.027 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.354, allocations: 24.53 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.3546, allocations: 306.2 kB / 1.027 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.355, allocations: 0.7047 MB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.3551, allocations: 15.44 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.3551, allocations: 4 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.00477/0.3598, allocations: 2.258 MB / 1.03 GB, free: 13.38 MB / 0.8106 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