Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 112.6 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 190.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.12 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7362, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002893/0.7391, allocations: 1.485 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.7405, allocations: 0.7245 MB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.7405, allocations: 0 / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.7406, allocations: 7.875 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.7407, allocations: 11.92 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.7413, allocations: 131.5 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.7414, allocations: 75.77 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.7415, allocations: 11.95 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.7416, allocations: 39.89 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.7417, allocations: 39.78 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.7417, allocations: 8 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.7419, allocations: 95.91 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.7419, allocations: 15.97 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.742, allocations: 31.8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.7423, allocations: 147.4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7423, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7423, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.7423, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 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.0006482/0.743, allocations: 422.8 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.743, allocations: 12.03 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.7431, allocations: 8.844 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.7432, allocations: 164.3 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.7432, allocations: 4.375 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.7432, allocations: 12.36 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.7434, allocations: 73.95 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.7434, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.7435, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.7435, allocations: 3.938 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.7436, allocations: 39.97 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.7442, allocations: 312.7 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.7443, allocations: 46.56 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.7444, allocations: 36.97 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.7445, allocations: 3.984 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.7447, allocations: 87.19 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.7447, allocations: 0 / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003869/0.7451, allocations: 141.6 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.7451, allocations: 59.41 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.7452, allocations: 121.8 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.7453, allocations: 29.7 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.7453, allocations: 88.12 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.7453, allocations: 15.81 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.7454, allocations: 33.64 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7455, allocations: 326.8 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.7456, allocations: 19.98 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.7457, allocations: 50.56 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.7458, allocations: 70.55 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7458, allocations: 0 / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002372/0.7461, allocations: 121.5 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.7461, allocations: 7.938 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7461, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7461, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.7462, allocations: 15.98 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7463, allocations: 0 / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.7463, allocations: 11.94 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.7464, allocations: 4 kB / 1.213 GB, free: 8.223 MB / 0.9356 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.0001026/0.7465, allocations: 121.8 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.7465, allocations: 15.89 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.7465, allocations: 8.375 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.7465, allocations: 3.938 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7465, allocations: 3.938 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7465, allocations: 4 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.747, allocations: 370.5 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.747, allocations: 0 / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.747, allocations: 4 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7471, allocations: 7.984 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.7471, allocations: 4 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7471, allocations: 0 / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7471, allocations: 4.406 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.7474, allocations: 215.3 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.7474, allocations: 85 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.7474, allocations: 4 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.7475, allocations: 8 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.7476, allocations: 11.92 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.7476, allocations: 0 / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.7477, allocations: 95.92 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7477, allocations: 3.938 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002999/0.748, allocations: 39.94 kB / 1.214 GB, free: 7.129 MB / 0.9356 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.0003225/0.7483, allocations: 164.6 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.7485, allocations: 67.89 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7486, allocations: 0 / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.7487, allocations: 47.86 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.7489, allocations: 3.984 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.7493, allocations: 222.8 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.7496, allocations: 0.6885 MB / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.7496, allocations: 11.44 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.7496, allocations: 0 / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of Templates: time 0.003439/0.753, allocations: 1.628 MB / 1.217 GB, free: 4.258 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches