Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 212.9 kB / 22.99 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 64.88 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3345, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002065/0.3366, allocations: 0.7231 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3383, allocations: 1.27 MB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.3384, allocations: 8 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.3384, allocations: 7.922 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.675e-05/0.3385, allocations: 19.73 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.3392, allocations: 249.2 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.3395, allocations: 251.6 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.3396, allocations: 12.22 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3398, allocations: 111.8 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3399, allocations: 79.75 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.34, allocations: 24 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.3401, allocations: 31.98 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.3401, allocations: 35.91 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.3403, allocations: 91.73 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.3406, allocations: 223.3 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3406, allocations: 0 / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3406, allocations: 0 / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3406, allocations: 0 / 1.287 GB, free: 8.797 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.0007692/0.3413, allocations: 443.2 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3414, allocations: 8.031 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.3415, allocations: 16.89 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.342, allocations: 194.5 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.3421, allocations: 8.375 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.3421, allocations: 24.36 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.3424, allocations: 131.8 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3424, allocations: 7.938 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.3424, allocations: 3.984 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3424, allocations: 0 / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3425, allocations: 59.95 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.3433, allocations: 428.4 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.3436, allocations: 133.1 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3437, allocations: 61.73 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3437, allocations: 0 / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.3441, allocations: 211.3 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3441, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006/0.3447, allocations: 314.7 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.3448, allocations: 89.11 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3449, allocations: 136.6 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.345, allocations: 45.69 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.345, allocations: 88.64 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.3451, allocations: 59.58 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3452, allocations: 73.67 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3454, allocations: 322.8 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3456, allocations: 151.6 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.3459, allocations: 216.5 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.3462, allocations: 246.9 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3462, allocations: 0 / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006444/0.3468, allocations: 422.3 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.3469, allocations: 67.41 kB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3469, allocations: 224 / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.3469, allocations: 11.98 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.347, allocations: 15.94 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3471, allocations: 4 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.3474, allocations: 71.75 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.3474, allocations: 16 kB / 1.291 GB, free: 4.457 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.0001455/0.3476, allocations: 147.8 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3476, allocations: 11.95 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.3477, allocations: 20.42 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3477, allocations: 0 / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3477, allocations: 8 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3477, allocations: 7.922 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.3483, allocations: 0.5519 MB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3483, allocations: 3.938 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.3484, allocations: 15.92 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3484, allocations: 4 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3484, allocations: 7.984 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.3484, allocations: 7.938 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3484, allocations: 0 / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.3488, allocations: 430.7 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.3489, allocations: 11.91 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3489, allocations: 8 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.349, allocations: 7.984 kB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3491, allocations: 27.89 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3491, allocations: 19.98 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.154e-05/0.3492, allocations: 98.33 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3492, allocations: 4 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003532/0.3495, allocations: 63.92 kB / 1.292 GB, free: 2.957 MB / 0.9825 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.0001644/0.3497, allocations: 107.2 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.3502, allocations: 378 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3503, allocations: 0 / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3504, allocations: 87.83 kB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3508, allocations: 28.42 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.3514, allocations: 308.8 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.3515, allocations: 88.84 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.3515, allocations: 19.44 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3515, allocations: 0 / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of Templates: time 0.004418/0.3559, allocations: 2.309 MB / 1.295 GB, free: 15.57 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 11.11908790981397]