Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.001826/0.001826, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002525/0.002525, allocations: 217 kB / 22.25 MB, free: 5.082 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.402/3.402, allocations: 0.5096 GB / 0.8147 GB, free: 17.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") [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.002031/0.002031, allocations: 66.52 kB / 1.184 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4314, allocations: 181.4 MB / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00291/0.4343, allocations: 1.512 MB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.4352, allocations: 482.8 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.4353, allocations: 4 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.4353, allocations: 4 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.4354, allocations: 15.84 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.4355, allocations: 19.98 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.4356, allocations: 55.78 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.4357, allocations: 8 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.4358, allocations: 19.98 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.4359, allocations: 27.84 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.4359, allocations: 4 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.4359, allocations: 4 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.4359, allocations: 7.984 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.436, allocations: 31.86 kB / 1.364 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.4361, allocations: 47.75 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4361, allocations: 0 / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4361, allocations: 0 / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.4361, allocations: 0 / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00053/0.4366, allocations: 294.2 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4367, allocations: 8.031 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.4367, allocations: 4.938 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.4368, allocations: 106.5 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.4368, allocations: 8.375 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4368, allocations: 8.375 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.437, allocations: 65.88 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.437, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.437, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.437, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.985e-05/0.4371, allocations: 31.97 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.4375, allocations: 276.7 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.4377, allocations: 50.56 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.4377, allocations: 16.95 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.4377, allocations: 4 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4379, allocations: 79.36 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 3.206e-06/0.4379, allocations: 4 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002143/0.4381, allocations: 97.61 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.4381, allocations: 55.41 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/0.4382, allocations: 109.8 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4382, allocations: 25.7 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.4383, allocations: 92.09 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.4383, allocations: 27.78 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.4384, allocations: 29.7 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4385, allocations: 322.8 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.4386, allocations: 16 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.4386, allocations: 43.42 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.853e-05/0.4387, allocations: 67.36 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4387, allocations: 4 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001404/0.4389, allocations: 93.62 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4389, allocations: 4 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4389, allocations: 4 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4389, allocations: 8.297 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.439, allocations: 8 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.439, allocations: 4 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.4391, allocations: 7.953 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4391, allocations: 7.922 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.547e-05/0.4392, allocations: 127.8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.4392, allocations: 7.969 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.4392, allocations: 12.06 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4392, allocations: 3.938 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4392, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4392, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.4396, allocations: 329.4 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4396, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.4397, allocations: 3.984 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4397, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4397, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4397, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4397, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.4399, allocations: 187.4 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.4399, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.4399, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.44, allocations: 16.2 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.44, allocations: 11.98 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.44, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.4401, allocations: 87.27 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4401, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002279/0.4403, allocations: 12 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001173/0.4404, allocations: 103.2 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.4405, allocations: 47.91 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4405, allocations: 192 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.4406, allocations: 32 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.4409, allocations: 7.984 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.4413, allocations: 165.5 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4417, allocations: 0.6846 MB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.4417, allocations: 4 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.4417, allocations: 11.44 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4417, allocations: 4 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of Templates: time 0.003463/0.4452, allocations: 0.8287 MB / 1.368 GB, free: 9.02 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.573547452222556]