Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001659/0.001659, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001953/0.001953, allocations: 193.4 kB / 22.17 MB, free: 5.656 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.516/1.516, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.783/2.783, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8601, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002908/0.863, allocations: 1.498 MB / 1.275 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.8645, allocations: 0.7415 MB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.8646, allocations: 4 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.8646, allocations: 7.922 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.8647, allocations: 11.86 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.8653, allocations: 131.6 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.8655, allocations: 75.72 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.8656, allocations: 15.94 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.8657, allocations: 35.91 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.8658, allocations: 39.83 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.8658, allocations: 8 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.8661, allocations: 99.83 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.8661, allocations: 15.97 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.8662, allocations: 35.8 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.8665, allocations: 146.2 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.8665, allocations: 4 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8665, allocations: 0 / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.8665, allocations: 0 / 1.277 GB, free: 1.652 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008293/0.8673, allocations: 416.8 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.8674, allocations: 11.97 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.8674, allocations: 8.891 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.8676, allocations: 176.2 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.8677, allocations: 8.375 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.8677, allocations: 8.375 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.8679, allocations: 65.97 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8679, allocations: 0 / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.8679, allocations: 11.98 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8679, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.8681, allocations: 35.97 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.8688, allocations: 320.7 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.869, allocations: 38.56 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/0.8691, allocations: 28.97 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.8691, allocations: 4 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.8693, allocations: 83.31 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.572e-06/0.8693, allocations: 3.938 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004381/0.8698, allocations: 141.6 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.8698, allocations: 59.39 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.8699, allocations: 125.7 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.87, allocations: 29.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.87, allocations: 88.12 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.8701, allocations: 15.91 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.8701, allocations: 33.7 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8703, allocations: 318.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.8704, allocations: 23.98 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.8705, allocations: 54.48 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.8707, allocations: 74.84 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.8707, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/0.8709, allocations: 113.5 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.8709, allocations: 10.03 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8709, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8709, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.871, allocations: 11.94 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.8711, allocations: 12.05 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.8711, allocations: 8 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.8711, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001185/0.8713, allocations: 125.7 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.8713, allocations: 7.953 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.8713, allocations: 12.36 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8713, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8713, allocations: 3.938 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8713, allocations: 4 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.8718, allocations: 382.4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8718, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.8719, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.8719, allocations: 4 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.8719, allocations: 7.984 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8719, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8719, allocations: 3.938 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.8723, allocations: 211.4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.8723, allocations: 81.06 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.8723, allocations: 3.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.8725, allocations: 8 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.8725, allocations: 15.91 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.8726, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.8726, allocations: 99.27 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8726, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000306/0.8729, allocations: 35.94 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0004241/0.8734, allocations: 162.3 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.8736, allocations: 71.95 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.8736, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.8737, allocations: 31.98 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.874, allocations: 12.47 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.8745, allocations: 200.7 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.8749, allocations: 0.6924 MB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.875, allocations: 3.984 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.875, allocations: 11.44 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.875, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.005305/0.8803, allocations: 1.478 MB / 1.283 GB, free: 11.32 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time [Calling sys.exit(0), Time elapsed: 8.764192631933838]