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.001898/0.001898, allocations: 110 kB / 18.93 MB, free: 2.945 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.002256/0.002256, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.549/1.549, allocations: 225.6 MB / 251 MB, free: 13.02 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.866/2.866, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.002149/0.002149, allocations: 63.91 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 168.8 MB / 1.274 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001981/1.029, allocations: 0.7322 MB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001788/1.031, allocations: 1.277 MB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/1.031, allocations: 0 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/1.031, allocations: 7.875 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/1.031, allocations: 19.84 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/1.032, allocations: 253.7 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/1.032, allocations: 259.5 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/1.032, allocations: 16.16 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/1.032, allocations: 99.86 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/1.032, allocations: 99.73 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/1.032, allocations: 24 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/1.032, allocations: 39.88 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/1.033, allocations: 27.97 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/1.033, allocations: 91.73 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/1.033, allocations: 225.7 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.033, allocations: 4 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.025e-06/1.033, allocations: 4 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.033, allocations: 0 / 1.277 GB, free: 0.9648 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.0007871/1.034, allocations: 429.2 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/1.034, allocations: 11.98 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/1.034, allocations: 20.84 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/1.034, allocations: 190.5 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/1.034, allocations: 12.36 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/1.035, allocations: 24.36 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/1.035, allocations: 131.9 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.035, allocations: 3.938 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/1.035, allocations: 7.984 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.035, allocations: 4 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/1.035, allocations: 63.89 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/1.036, allocations: 491.8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/1.036, allocations: 133.2 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/1.036, allocations: 53.69 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/1.036, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/1.037, allocations: 215.1 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/1.037, allocations: 3.938 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0005968/1.037, allocations: 305.7 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.037, allocations: 92.98 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/1.038, allocations: 130.9 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/1.038, allocations: 45.78 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/1.038, allocations: 104.7 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/1.038, allocations: 55.62 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.038, allocations: 69.67 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.038, allocations: 326.8 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/1.038, allocations: 84.23 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/1.038, allocations: 160.2 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/1.039, allocations: 244.9 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.039, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006276/1.039, allocations: 368.6 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/1.039, allocations: 67.39 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.039, allocations: 0 / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.039, allocations: 4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/1.04, allocations: 20.16 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/1.04, allocations: 11.92 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/1.04, allocations: 63.89 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/1.04, allocations: 23.98 kB / 1.281 GB, free: 12.75 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.0001525/1.04, allocations: 143.7 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/1.04, allocations: 19.89 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/1.04, allocations: 16.44 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.04, allocations: 4 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.04, allocations: 3.938 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.04, allocations: 0 / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/1.041, allocations: 0.5955 MB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.041, allocations: 0 / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/1.041, allocations: 8 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/1.041, allocations: 7.938 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/1.041, allocations: 11.98 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.041, allocations: 0 / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.041, allocations: 0 / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/1.042, allocations: 418.5 kB / 1.282 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/1.042, allocations: 19.84 kB / 1.282 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/1.042, allocations: 15.92 kB / 1.282 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.042, allocations: 15.98 kB / 1.282 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/1.042, allocations: 23.95 kB / 1.282 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/1.042, allocations: 11.98 kB / 1.282 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.283e-05/1.042, allocations: 96.66 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.042, allocations: 0 / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003781/1.042, allocations: 51.98 kB / 1.283 GB, free: 11.23 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.0002083/1.043, allocations: 115.2 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005529/1.043, allocations: 321 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.043, allocations: 0 / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.043, allocations: 79.89 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/1.044, allocations: 34.25 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/1.044, allocations: 291.6 kB / 1.283 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/1.045, allocations: 0.7008 MB / 1.284 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.247e-05/1.045, allocations: 21.48 kB / 1.284 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/1.045, allocations: 15.44 kB / 1.284 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/1.045, allocations: 4.281 kB / 1.284 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.006864/1.052, allocations: 2.784 MB / 1.287 GB, free: 6.812 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 -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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.603302950970829]