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.001397/0.001397, allocations: 107.8 kB / 16.41 MB, free: 6.492 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.001463/0.001463, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 72.11 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7342, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002684/0.7369, allocations: 1.487 MB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.7382, allocations: 0.7206 MB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.7383, allocations: 4 kB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.7383, allocations: 3.938 kB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.7384, allocations: 7.875 kB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.739, allocations: 127.6 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.7391, allocations: 79.7 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.7392, allocations: 11.95 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.7393, allocations: 43.89 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.7394, allocations: 35.84 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.7394, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.7396, allocations: 99.84 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.7397, allocations: 23.91 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.7397, allocations: 31.8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.74, allocations: 137.5 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.74, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.74, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.74, allocations: 0 / 1.211 GB, free: 10.96 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.0006312/0.7406, allocations: 424.9 kB / 1.212 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7407, allocations: 12.03 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.7407, allocations: 8.844 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.7409, allocations: 168.2 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.7409, allocations: 4.375 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.7409, allocations: 12.36 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.7411, allocations: 73.95 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.7411, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.7411, allocations: 4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7412, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7413, allocations: 35.97 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.7419, allocations: 316.7 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.742, allocations: 50.56 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.7421, allocations: 32.97 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7421, allocations: 0 / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.7423, allocations: 75.38 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.955e-06/0.7423, allocations: 7.938 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004002/0.7428, allocations: 145.5 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7428, allocations: 59.41 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.7429, allocations: 117.8 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.7429, allocations: 29.7 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.743, allocations: 92.12 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.743, allocations: 11.81 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.7431, allocations: 29.7 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7432, allocations: 326.8 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.7433, allocations: 23.98 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.7434, allocations: 54.94 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.7435, allocations: 74.48 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7435, allocations: 0 / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002411/0.7438, allocations: 117.5 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7438, allocations: 4 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7438, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7438, allocations: 4 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.744, allocations: 15.92 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.744, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.744, allocations: 15.88 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.7441, allocations: 4 kB / 1.213 GB, free: 8.414 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 9.763e-05/0.7442, allocations: 121.8 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.7442, allocations: 11.89 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.7442, allocations: 12.36 kB / 1.214 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7442, allocations: 0 / 1.214 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.7442, allocations: 4 kB / 1.214 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7442, allocations: 7.938 kB / 1.214 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.7447, allocations: 378.4 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7447, allocations: 4 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.7447, allocations: 4 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.7448, allocations: 3.984 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7448, allocations: 0 / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7448, allocations: 0 / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7448, allocations: 4.406 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.7451, allocations: 215.3 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.7451, allocations: 89 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.7451, allocations: 8 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.7452, allocations: 0 / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.7453, allocations: 11.92 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.7453, allocations: 4 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.7454, allocations: 91.27 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7454, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003034/0.7457, allocations: 36 kB / 1.214 GB, free: 7.324 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.0003209/0.746, allocations: 164.2 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.7462, allocations: 67.89 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7463, allocations: 4 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.7464, allocations: 35.98 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.7467, allocations: 8.656 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.7471, allocations: 226.5 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.7473, allocations: 0.6885 MB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.7473, allocations: 11.44 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7474, allocations: 0 / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.003492/0.7508, allocations: 1.615 MB / 1.217 GB, free: 4.465 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