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.001501/0.001501, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001484/0.001484, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.94 kB / 0.9245 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.751, allocations: 162.2 MB / 1.083 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002479/0.7535, allocations: 1.476 MB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.7547, allocations: 0.7291 MB / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.7547, allocations: 4.5 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.7548, allocations: 5.047 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.7549, allocations: 14.66 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.7554, allocations: 121.5 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.7555, allocations: 81.08 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.7556, allocations: 11.95 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.7557, allocations: 35.34 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.7558, allocations: 44.3 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.7558, allocations: 6.906 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.756, allocations: 98.27 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.7561, allocations: 14.89 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.7561, allocations: 35.8 kB / 1.086 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.7564, allocations: 140 kB / 1.086 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7564, allocations: 0.6094 kB / 1.086 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7564, allocations: 0.7812 kB / 1.086 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.7564, allocations: 0 / 1.086 GB, free: 15.82 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.0006709/0.7571, allocations: 418.3 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.7571, allocations: 9.531 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.7572, allocations: 10.34 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.7573, allocations: 172.6 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.7574, allocations: 11.45 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.7574, allocations: 4.719 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.7576, allocations: 72.48 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.7576, allocations: 0 / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.7576, allocations: 4.531 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7576, allocations: 1 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.7578, allocations: 37.25 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006488/0.7584, allocations: 317.9 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.7586, allocations: 54.78 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.128e-05/0.7587, allocations: 30.59 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.7587, allocations: 1.906 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.7589, allocations: 72.77 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 4.398e-06/0.7589, allocations: 0.5312 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004264/0.7594, allocations: 149.5 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.7594, allocations: 59.06 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.7596, allocations: 122.9 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.7596, allocations: 30.95 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.7597, allocations: 88.12 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.7597, allocations: 15.59 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.7597, allocations: 28.44 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7599, allocations: 319.9 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.76, allocations: 35.45 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.7601, allocations: 46.55 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.7603, allocations: 72.47 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7603, allocations: 4 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002598/0.7606, allocations: 113.2 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7606, allocations: 5.438 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7606, allocations: 0.6562 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7606, allocations: 1.438 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.7607, allocations: 15.33 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.7608, allocations: 6.297 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.7608, allocations: 8.75 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.7609, allocations: 15.83 kB / 1.088 GB, free: 13.83 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.0001145/0.761, allocations: 122.8 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.761, allocations: 8.406 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.761, allocations: 6.156 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.761, allocations: 1.344 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.7611, allocations: 0.6094 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7611, allocations: 4.688 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.7616, allocations: 386.7 kB / 1.088 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7616, allocations: 0 / 1.088 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.7617, allocations: 4.875 kB / 1.088 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7617, allocations: 1.672 kB / 1.088 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.7617, allocations: 1.906 kB / 1.088 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7617, allocations: 0.875 kB / 1.088 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7617, allocations: 4.547 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.762, allocations: 215 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.7621, allocations: 83.95 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.7621, allocations: 2.094 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.7622, allocations: 4.109 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.7623, allocations: 17.84 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.7623, allocations: 2.328 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.485e-05/0.7624, allocations: 92.25 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7624, allocations: 0 / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003256/0.7627, allocations: 42.45 kB / 1.089 GB, free: 12.98 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.0003595/0.7631, allocations: 163.3 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.7633, allocations: 73.67 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7633, allocations: 0 / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.7634, allocations: 38.45 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.7637, allocations: 7.75 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.7642, allocations: 208 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.7646, allocations: 0.6901 MB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.7646, allocations: 17.16 kB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.7647, allocations: 3.938 kB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.003879/0.7685, allocations: 1.62 MB / 1.092 GB, free: 11.78 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