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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001311/0.001312, allocations: 109.8 kB / 15.99 MB, free: 6.348 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.001333/0.001333, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.703/2.703, allocations: 482.4 MB / 0.755 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 64.72 kB / 0.924 GB, free: 368 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7732, allocations: 162.2 MB / 1.082 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002472/0.7757, allocations: 1.529 MB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.7768, allocations: 0.7285 MB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.7769, allocations: 0 / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.7769, allocations: 5.203 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.777, allocations: 6.797 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.7776, allocations: 107.2 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.7777, allocations: 76.92 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.7779, allocations: 19.36 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.778, allocations: 35.39 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.7781, allocations: 46.19 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.7781, allocations: 6.281 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.7783, allocations: 89.67 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.7783, allocations: 18.55 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.7784, allocations: 33.88 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.7786, allocations: 101.4 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7786, allocations: 0 / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.677e-06/0.7786, allocations: 1.094 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7786, allocations: 3.938 kB / 1.085 GB, free: 15.85 MB / 0.8419 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.0007215/0.7794, allocations: 418.7 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7794, allocations: 14.05 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.7795, allocations: 8.531 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.7796, allocations: 168.8 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.7797, allocations: 3.094 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.7797, allocations: 9.391 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.7799, allocations: 72.16 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.7799, allocations: 0 / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.7799, allocations: 1.812 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.7799, allocations: 1.25 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.7801, allocations: 42.81 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.7807, allocations: 319.4 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.7809, allocations: 45.27 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.781, allocations: 33.52 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.781, allocations: 0 / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.7812, allocations: 84.84 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.7813, allocations: 0.7188 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004164/0.7817, allocations: 137.9 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.7817, allocations: 62.42 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7819, allocations: 125.7 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.7819, allocations: 28.58 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.782, allocations: 91.69 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.782, allocations: 15.45 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.7821, allocations: 29.84 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7822, allocations: 323.5 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.7823, allocations: 23.11 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7824, allocations: 53.59 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.7826, allocations: 73.95 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7826, allocations: 0 / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002625/0.7829, allocations: 115.9 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7829, allocations: 5.625 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7829, allocations: 1.062 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.7829, allocations: 1.094 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.7831, allocations: 24.27 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.7831, allocations: 1.516 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.7831, allocations: 13.59 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.7832, allocations: 3.844 kB / 1.087 GB, free: 13.86 MB / 0.8419 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.0001184/0.7833, allocations: 123.3 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.7833, allocations: 7.625 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.7834, allocations: 11.61 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7834, allocations: 5.344 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7834, allocations: 0 / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7834, allocations: 0.6562 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.7839, allocations: 378 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7839, allocations: 4.859 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.784, allocations: 5.719 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.784, allocations: 1.094 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.784, allocations: 4.656 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.784, allocations: 5.641 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.784, allocations: 3.938 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.7843, allocations: 212 kB / 1.088 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.7844, allocations: 83.91 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.7844, allocations: 1.359 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.7845, allocations: 9.062 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.7846, allocations: 8.047 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.7846, allocations: 7.719 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.7847, allocations: 95.81 kB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7847, allocations: 0 / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003261/0.785, allocations: 43.17 kB / 1.088 GB, free: 13 MB / 0.8419 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.0003957/0.7854, allocations: 160.2 kB / 1.089 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.7857, allocations: 76.78 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.7857, allocations: 4 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.7858, allocations: 37.7 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.7861, allocations: 5.156 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.7865, allocations: 227.2 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.7868, allocations: 0.6869 MB / 1.09 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.7869, allocations: 11.45 kB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.7869, allocations: 0 / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.004385/0.7913, allocations: 1.622 MB / 1.091 GB, free: 11.8 MB / 0.8419 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=400 -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