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.001756/0.001756, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001997/0.001997, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.588/1.588, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.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.855/2.855, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] 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.003347/0.003347, allocations: 63.91 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.11, allocations: 168.7 MB / 1.272 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002286/1.112, allocations: 0.7541 MB / 1.273 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001771/1.114, allocations: 1.259 MB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/1.114, allocations: 0.9375 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/1.114, allocations: 6.609 kB / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/1.114, allocations: 22.78 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/1.115, allocations: 252.3 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/1.115, allocations: 252.8 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/1.115, allocations: 11.84 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/1.116, allocations: 101.7 kB / 1.275 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/1.116, allocations: 97.86 kB / 1.275 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/1.116, allocations: 23.62 kB / 1.275 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/1.116, allocations: 37 kB / 1.275 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/1.116, allocations: 34.67 kB / 1.275 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/1.116, allocations: 90.02 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/1.116, allocations: 224 kB / 1.275 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.116, allocations: 7.875 kB / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.116, allocations: 0 / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.116, allocations: 0 / 1.275 GB, free: 6.266 MB / 0.9981 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.0007608/1.117, allocations: 0.4924 MB / 1.276 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.117, allocations: 9.531 kB / 1.276 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/1.117, allocations: 23.86 kB / 1.276 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/1.118, allocations: 244.8 kB / 1.276 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/1.118, allocations: 14.25 kB / 1.276 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/1.118, allocations: 22.75 kB / 1.276 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/1.118, allocations: 132.2 kB / 1.276 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.118, allocations: 8.594 kB / 1.276 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/1.118, allocations: 7.688 kB / 1.276 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.118, allocations: 4.703 kB / 1.276 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/1.118, allocations: 62.27 kB / 1.276 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/1.119, allocations: 0.5093 MB / 1.277 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/1.119, allocations: 139.8 kB / 1.277 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/1.119, allocations: 46.16 kB / 1.277 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/1.119, allocations: 3.594 kB / 1.277 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/1.12, allocations: 206.6 kB / 1.277 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/1.12, allocations: 1.062 kB / 1.277 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0006541/1.121, allocations: 308.6 kB / 1.277 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/1.121, allocations: 89.44 kB / 1.277 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.121, allocations: 144.3 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/1.121, allocations: 39.67 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/1.121, allocations: 99.16 kB / 1.278 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/1.121, allocations: 48.59 kB / 1.278 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.121, allocations: 76.84 kB / 1.278 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/1.121, allocations: 322.4 kB / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/1.121, allocations: 88.2 kB / 1.278 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/1.122, allocations: 165 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/1.122, allocations: 245.8 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.122, allocations: 4.969 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005964/1.122, allocations: 353.9 kB / 1.279 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/1.122, allocations: 71.02 kB / 1.279 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.122, allocations: 7 kB / 1.279 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.122, allocations: 2.938 kB / 1.279 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.123, allocations: 19.77 kB / 1.279 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.123, allocations: 11.53 kB / 1.279 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/1.123, allocations: 69.44 kB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/1.123, allocations: 21.12 kB / 1.279 GB, free: 3.344 MB / 0.9981 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.00013/1.123, allocations: 149.4 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/1.123, allocations: 12.92 kB / 1.279 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/1.123, allocations: 15.78 kB / 1.279 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.123, allocations: 2.75 kB / 1.279 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.123, allocations: 4.875 kB / 1.279 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.123, allocations: 4.75 kB / 1.279 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/1.124, allocations: 0.6084 MB / 1.28 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.124, allocations: 0.9375 kB / 1.28 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/1.124, allocations: 15.98 kB / 1.28 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/1.124, allocations: 4.906 kB / 1.28 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.124, allocations: 6.844 kB / 1.28 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.124, allocations: 1.875 kB / 1.28 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.124, allocations: 0 / 1.28 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/1.125, allocations: 424.7 kB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/1.125, allocations: 93.25 kB / 1.28 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/1.125, allocations: 18.64 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/1.125, allocations: 8.703 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/1.125, allocations: 23.31 kB / 1.28 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/1.125, allocations: 16.86 kB / 1.28 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.238e-05/1.125, allocations: 97.09 kB / 1.28 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.125, allocations: 0 / 1.28 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003963/1.125, allocations: 56.58 kB / 1.281 GB, free: 2.219 MB / 0.9981 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.0002082/1.125, allocations: 124.4 kB / 1.281 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005287/1.126, allocations: 311.6 kB / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.126, allocations: 0 / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/1.126, allocations: 87.34 kB / 1.281 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/1.127, allocations: 31.36 kB / 1.281 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/1.127, allocations: 297.5 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/1.127, allocations: 0.7016 MB / 1.282 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.894e-05/1.127, allocations: 21.66 kB / 1.282 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/1.127, allocations: 17.97 kB / 1.282 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.127, allocations: 0 / 1.282 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of Templates: time 0.008356/1.136, allocations: 2.755 MB / 1.285 GB, free: 0.7422 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/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.758397817611694]