Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001168/0.001168, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002766, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001092/0.001092, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002519, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08933/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.343/2.343, allocations: 446.7 MB / 0.6745 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2503/2.593, allocations: 145.9 MB / 0.817 GB, free: 4.18 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.326e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002035/0.002048, allocations: 1.753 MB / 0.82 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003398, allocations: 1.434 MB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.003451, allocations: 0 / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.003577, allocations: 31.72 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.003825, allocations: 103.3 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.004042, allocations: 139.5 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.004265, allocations: 257.5 kB / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.004358, allocations: 15.97 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02555/0.02991, allocations: 10.22 MB / 0.8319 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.03003, allocations: 71.84 kB / 0.832 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.03006, allocations: 16 kB / 0.832 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.03018, allocations: 59.91 kB / 0.8321 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.03025, allocations: 71.73 kB / 0.8321 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.03031, allocations: 43.88 kB / 0.8322 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.03059, allocations: 211.1 kB / 0.8324 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.03061, allocations: 0 / 0.8324 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.074e-06/0.03061, allocations: 4 kB / 0.8324 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.03063, allocations: 4 kB / 0.8324 GB, free: 8.094 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006098/0.03124, allocations: 488.4 kB / 0.8329 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.03127, allocations: 11.97 kB / 0.8329 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.03132, allocations: 36.91 kB / 0.8329 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.03154, allocations: 240.7 kB / 0.8331 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.03156, allocations: 12.7 kB / 0.8331 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.03158, allocations: 20.38 kB / 0.8332 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.03178, allocations: 223.6 kB / 0.8334 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.03179, allocations: 4.125 kB / 0.8334 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.0318, allocations: 12.12 kB / 0.8334 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.03181, allocations: 8 kB / 0.8334 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.03222, allocations: 483.3 kB / 0.8339 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.03269, allocations: 339 kB / 0.8342 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.03288, allocations: 135 kB / 0.8343 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.03293, allocations: 41.39 kB / 0.8344 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.03297, allocations: 24.2 kB / 0.8344 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.03311, allocations: 121 kB / 0.8345 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=35): time 1.273e-06/0.03312, allocations: 0 / 0.8345 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35): time 0.0002173/0.03333, allocations: 173.2 kB / 0.8347 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.03339, allocations: 63.27 kB / 0.8347 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.0335, allocations: 205 kB / 0.8349 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.03352, allocations: 33.7 kB / 0.8349 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.03356, allocations: 109.1 kB / 0.835 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.03362, allocations: 115 kB / 0.8352 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.03367, allocations: 61.67 kB / 0.8352 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.03375, allocations: 338.8 kB / 0.8355 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.03379, allocations: 31.97 kB / 0.8356 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/0.03388, allocations: 113.7 kB / 0.8357 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.03398, allocations: 107.7 kB / 0.8358 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.03398, allocations: 8.031 kB / 0.8358 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001461/0.03413, allocations: 149.2 kB / 0.8359 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.03414, allocations: 4 kB / 0.8359 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.03415, allocations: 0 / 0.8359 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-06/0.03416, allocations: 0 / 0.8359 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.03432, allocations: 75.89 kB / 0.836 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.03432, allocations: 0 / 0.836 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.03438, allocations: 23.88 kB / 0.836 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.0344, allocations: 8 kB / 0.836 GB, free: 4.152 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.778e-05/0.03449, allocations: 136.5 kB / 0.8362 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.03452, allocations: 31.92 kB / 0.8362 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.03479, allocations: 222 kB / 0.8364 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03479, allocations: 8 kB / 0.8364 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.03479, allocations: 0 / 0.8364 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.0348, allocations: 15.92 kB / 0.8364 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.03497, allocations: 149.7 kB / 0.8366 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.03497, allocations: 0 / 0.8366 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.03508, allocations: 67.89 kB / 0.8366 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.03514, allocations: 55.66 kB / 0.8367 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.03515, allocations: 0 / 0.8367 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.03516, allocations: 7.984 kB / 0.8367 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.03516, allocations: 4 kB / 0.8367 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.03516, allocations: 0 / 0.8367 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.03531, allocations: 186.3 kB / 0.8369 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.03534, allocations: 11.94 kB / 0.8369 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.03539, allocations: 19.97 kB / 0.8369 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.03543, allocations: 15.95 kB / 0.8369 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.03544, allocations: 8 kB / 0.8369 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.03549, allocations: 70.78 kB / 0.837 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/0.03549, allocations: 0 / 0.837 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001398/0.03563, allocations: 48 kB / 0.837 GB, free: 3.051 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001127/0.03675, allocations: 0.4892 MB / 0.8375 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.03698, allocations: 120.6 kB / 0.8376 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.03699, allocations: 8 kB / 0.8376 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.03706, allocations: 72.69 kB / 0.8377 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.0372, allocations: 56.47 kB / 0.8378 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009102/0.03811, allocations: 414.8 kB / 0.8382 GB, free: 2.102 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.842e-05/0.03816, allocations: 89.81 kB / 0.8383 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.03827, allocations: 82.95 kB / 0.8383 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.03841, allocations: 111.3 kB / 0.8384 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.03841, allocations: 0 / 0.8384 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of Templates: time 0.004863/0.04327, allocations: 3.192 MB / 0.8416 GB, free: 14.63 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.30248991958797]