Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.001777/0.001777, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001537/0.001537, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.819/2.819, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/3.912e-05, allocations: 4.25 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.004685/0.004724, allocations: 1.483 MB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.007428, allocations: 0.7795 MB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.007509, allocations: 3.938 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.007549, allocations: 3.938 kB / 0.9532 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.007651, allocations: 11.88 kB / 0.9532 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009201/0.008571, allocations: 147.3 kB / 0.9533 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.008759, allocations: 79.77 kB / 0.9534 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.008902, allocations: 12.16 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.009131, allocations: 47.91 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.009234, allocations: 39.88 kB / 0.9535 GB, free: 9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.009266, allocations: 4 kB / 0.9535 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.009717, allocations: 143.7 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.009755, allocations: 7.984 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.009821, allocations: 27.91 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.01025, allocations: 175.4 kB / 0.9538 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.01026, allocations: 4 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01026, allocations: 0 / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.01027, allocations: 0 / 0.9538 GB, free: 8.645 MB / 0.8575 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.000905/0.01117, allocations: 347.5 kB / 0.9542 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.01122, allocations: 12.03 kB / 0.9542 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005317/0.01175, allocations: 40.75 kB / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.0121, allocations: 129.7 kB / 0.9543 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.01213, allocations: 8.375 kB / 0.9543 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.01215, allocations: 384 / 0.9543 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.01241, allocations: 70.2 kB / 0.9544 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.01242, allocations: 192 / 0.9544 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.01245, allocations: 8.125 kB / 0.9544 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.01245, allocations: 8 kB / 0.9544 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.0127, allocations: 35.97 kB / 0.9545 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.01355, allocations: 240.5 kB / 0.9547 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.01377, allocations: 46.55 kB / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.01391, allocations: 28.97 kB / 0.9548 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.01394, allocations: 3.938 kB / 0.9548 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.01421, allocations: 83.38 kB / 0.9548 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.265e-06/0.01421, allocations: 3.938 kB / 0.9548 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007146/0.01492, allocations: 137.7 kB / 0.955 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.01501, allocations: 59.41 kB / 0.955 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.01518, allocations: 126 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.01522, allocations: 25.7 kB / 0.9552 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01533, allocations: 92.14 kB / 0.9553 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.01537, allocations: 19.83 kB / 0.9553 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.01546, allocations: 25.72 kB / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.01567, allocations: 322.8 kB / 0.9556 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.01582, allocations: 27.98 kB / 0.9556 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.01602, allocations: 54.48 kB / 0.9557 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.0163, allocations: 70.81 kB / 0.9558 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.0163, allocations: 0 / 0.9558 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004895/0.01679, allocations: 125.5 kB / 0.9559 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.01682, allocations: 7.938 kB / 0.9559 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01682, allocations: 0 / 0.9559 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.01685, allocations: 7.984 kB / 0.9559 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.01701, allocations: 19.92 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.01701, allocations: 0 / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01713, allocations: 7.984 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.01716, allocations: 4 kB / 0.9559 GB, free: 6.289 MB / 0.8575 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.0001566/0.01731, allocations: 113.8 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.01735, allocations: 19.89 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.01738, allocations: 8.438 kB / 0.9561 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.01739, allocations: 4 kB / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.0174, allocations: 3.984 kB / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01741, allocations: 0 / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.01818, allocations: 322 kB / 0.9564 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.01819, allocations: 4 kB / 0.9564 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.01824, allocations: 0 / 0.9564 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.01825, allocations: 4 kB / 0.9564 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.01827, allocations: 8 kB / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.01828, allocations: 7.984 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01828, allocations: 0 / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.01887, allocations: 219.3 kB / 0.9566 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.01889, allocations: 7.891 kB / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.01892, allocations: 0 / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.01907, allocations: 11.98 kB / 0.9566 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.01914, allocations: 7.984 kB / 0.9566 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.01915, allocations: 0 / 0.9566 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000109/0.01926, allocations: 102.9 kB / 0.9567 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.01926, allocations: 4 kB / 0.9567 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005519/0.01981, allocations: 35.94 kB / 0.9568 GB, free: 5.363 MB / 0.8575 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.0005445/0.02035, allocations: 163.4 kB / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.02085, allocations: 67.89 kB / 0.957 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.02086, allocations: 4.125 kB / 0.957 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.02103, allocations: 31.98 kB / 0.957 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.0215, allocations: 15.92 kB / 0.957 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.02214, allocations: 170.1 kB / 0.9572 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.02225, allocations: 71.33 kB / 0.9573 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.653e-05/0.02232, allocations: 11.98 kB / 0.9573 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.02237, allocations: 16.48 kB / 0.9573 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.02237, allocations: 0 / 0.9573 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Templates: time 0.008025/0.0304, allocations: 1.494 MB / 0.9588 GB, free: 3.305 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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: 8.235475663095713]