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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 199.9 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.91 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8423, allocations: 168.7 MB / 1.274 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002038/0.8443, allocations: 0.725 MB / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.8463, allocations: 1.277 MB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.8464, allocations: 0 / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.8464, allocations: 3.938 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.8465, allocations: 27.78 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.8473, allocations: 253 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.8476, allocations: 251.6 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8477, allocations: 12.23 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.8478, allocations: 107.7 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.848, allocations: 95.73 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.8481, allocations: 20 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.8482, allocations: 36 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.8482, allocations: 35.89 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.8483, allocations: 83.75 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.8486, allocations: 233.9 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.8486, allocations: 0 / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8486, allocations: 0 / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.8487, allocations: 0 / 1.277 GB, free: 1.242 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.0008674/0.8495, allocations: 0.4945 MB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8496, allocations: 16.02 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.8496, allocations: 20.84 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.8503, allocations: 247.3 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.8503, allocations: 16.36 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.8504, allocations: 24.38 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.8506, allocations: 139.8 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.8506, allocations: 3.938 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.8507, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.8507, allocations: 7.984 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.8508, allocations: 59.95 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.8517, allocations: 0.5123 MB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.852, allocations: 137.2 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.8521, allocations: 53.69 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.8521, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.8525, allocations: 208.8 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.8525, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006574/0.8532, allocations: 309.4 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.8533, allocations: 89.42 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.8534, allocations: 129.1 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.8534, allocations: 41.7 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.8535, allocations: 100.8 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.8536, allocations: 59.56 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.8537, allocations: 69.69 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.8539, allocations: 334.8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.8541, allocations: 84.23 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.8543, allocations: 160.2 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.8547, allocations: 247 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8547, allocations: 0 / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006292/0.8553, allocations: 356.7 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/0.8554, allocations: 67.41 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8554, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.8555, allocations: 7.984 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.8556, allocations: 15.94 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.8556, allocations: 7.938 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.856, allocations: 72.03 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.856, allocations: 19.94 kB / 1.281 GB, free: 12.83 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.0001631/0.8562, allocations: 144 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.449e-05/0.8562, allocations: 15.91 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.8563, allocations: 24.42 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.8563, allocations: 4 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.8563, allocations: 7.938 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8563, allocations: 0 / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.857, allocations: 0.607 MB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.857, allocations: 3.984 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.8571, allocations: 7.938 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.8571, allocations: 7.938 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.8571, allocations: 7.984 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8571, allocations: 4 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8571, allocations: 8.016 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.8576, allocations: 419.1 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.8576, allocations: 92.95 kB / 1.282 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.8577, allocations: 11.94 kB / 1.282 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.8578, allocations: 15.97 kB / 1.282 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.8579, allocations: 27.91 kB / 1.282 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.858, allocations: 15.98 kB / 1.282 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.844e-05/0.858, allocations: 97.91 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.858, allocations: 0 / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000355/0.8584, allocations: 51.98 kB / 1.283 GB, free: 11.17 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.0002151/0.8586, allocations: 127.7 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.8591, allocations: 318.8 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8591, allocations: 4.125 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.8593, allocations: 75.91 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.8597, allocations: 33.78 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.8603, allocations: 290.4 kB / 1.283 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.8607, allocations: 0.7086 MB / 1.284 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.8607, allocations: 17.55 kB / 1.284 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.8608, allocations: 15.44 kB / 1.284 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.8608, allocations: 0 / 1.284 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.006553/0.8673, allocations: 2.744 MB / 1.287 GB, free: 6.797 MB / 0.9825 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 -s gbode -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_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.734513808041811]