Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009824/0.0009824, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 186.3 kB / 16.92 MB, free: 6.922 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003438, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6764, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001354/0.6778, allocations: 1.196 MB / 0.9569 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.6789, allocations: 0.7131 MB / 0.9576 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.483e-05/0.679, allocations: 5 kB / 0.9576 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.679, allocations: 0 / 0.9576 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.6791, allocations: 9.828 kB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.6795, allocations: 104.7 kB / 0.9577 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.6796, allocations: 82.78 kB / 0.9578 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.6797, allocations: 16.94 kB / 0.9578 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.6798, allocations: 25.86 kB / 0.9578 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.6799, allocations: 43.22 kB / 0.9578 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.6799, allocations: 3.938 kB / 0.9578 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.6801, allocations: 93 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.6801, allocations: 10.02 kB / 0.9579 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.6802, allocations: 54.08 kB / 0.958 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.6803, allocations: 108.8 kB / 0.9581 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6803, allocations: 0 / 0.9581 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6803, allocations: 0 / 0.9581 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.6804, allocations: 1.688 kB / 0.9581 GB, free: 5.883 MB / 0.7169 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.0004715/0.6808, allocations: 404.2 kB / 0.9585 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6809, allocations: 9.688 kB / 0.9585 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.6809, allocations: 12.53 kB / 0.9585 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.681, allocations: 168.2 kB / 0.9587 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.6811, allocations: 10.34 kB / 0.9587 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.6811, allocations: 8.375 kB / 0.9587 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.6813, allocations: 75.39 kB / 0.9588 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6813, allocations: 0 / 0.9588 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6813, allocations: 7.984 kB / 0.9588 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.6813, allocations: 1.656 kB / 0.9588 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.6814, allocations: 41.7 kB / 0.9588 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.682, allocations: 318.2 kB / 0.9591 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.6821, allocations: 59.97 kB / 0.9592 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.6822, allocations: 37.38 kB / 0.9592 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.6822, allocations: 1.5 kB / 0.9592 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.6824, allocations: 76.59 kB / 0.9593 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.6824, allocations: 7.938 kB / 0.9593 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003683/0.6828, allocations: 153.5 kB / 0.9594 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.6828, allocations: 52.78 kB / 0.9595 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.6829, allocations: 121 kB / 0.9596 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.6829, allocations: 31.08 kB / 0.9596 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.6829, allocations: 94.8 kB / 0.9597 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.683, allocations: 18.55 kB / 0.9597 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.683, allocations: 16.47 kB / 0.9598 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.683, allocations: 321.5 kB / 0.9601 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.6831, allocations: 29.86 kB / 0.9601 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.6832, allocations: 55.61 kB / 0.9601 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.6834, allocations: 74.25 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6834, allocations: 1.375 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002242/0.6836, allocations: 125.7 kB / 0.9603 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6836, allocations: 5.5 kB / 0.9603 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6836, allocations: 1.766 kB / 0.9603 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6837, allocations: 1.375 kB / 0.9603 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.6838, allocations: 13.61 kB / 0.9604 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6838, allocations: 1.375 kB / 0.9604 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.6838, allocations: 12.12 kB / 0.9604 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.6839, allocations: 8.109 kB / 0.9604 GB, free: 3.75 MB / 0.7169 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 6.52e-05/0.6839, allocations: 125.8 kB / 0.9605 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.684, allocations: 8.031 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.684, allocations: 5.75 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.684, allocations: 0 / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.684, allocations: 1.375 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.684, allocations: 3.938 kB / 0.9605 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.6844, allocations: 392.1 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6844, allocations: 1.062 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.6844, allocations: 8.391 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6844, allocations: 0 / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.6845, allocations: 1.156 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6845, allocations: 1.312 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6845, allocations: 7.938 kB / 0.9609 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.6847, allocations: 219.2 kB / 0.9611 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.6847, allocations: 83.05 kB / 0.9612 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.6848, allocations: 1.469 kB / 0.9612 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.6849, allocations: 15.33 kB / 0.9612 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.6849, allocations: 6.75 kB / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.6849, allocations: 10.59 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.685, allocations: 96.39 kB / 0.9613 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.72e-07/0.685, allocations: 0 / 0.9613 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003055/0.6853, allocations: 48.08 kB / 0.9614 GB, free: 2.82 MB / 0.7169 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.0002925/0.6856, allocations: 153.4 kB / 0.9615 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.6858, allocations: 70.97 kB / 0.9616 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6858, allocations: 3.938 kB / 0.9616 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.6859, allocations: 39.03 kB / 0.9616 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.6862, allocations: 12.38 kB / 0.9616 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.6866, allocations: 238 kB / 0.9619 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.6867, allocations: 0.6884 MB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.6867, allocations: 19.16 kB / 0.9625 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.6867, allocations: 0 / 0.9625 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of Templates: time 0.003341/0.6901, allocations: 1.605 MB / 0.9641 GB, free: 0.9023 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches