Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00141/0.00141, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001657/0.001658, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.879/2.879, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 63.91 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.6705, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003371/0.6739, allocations: 1.548 MB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.6754, allocations: 0.7169 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.6754, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.6755, allocations: 4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.6755, allocations: 19.78 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.6762, allocations: 111.8 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.6764, allocations: 71.78 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.6765, allocations: 11.98 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.367e-05/0.6766, allocations: 39.91 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.6767, allocations: 39.84 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.6767, allocations: 11.94 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.6769, allocations: 91.91 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.6769, allocations: 15.91 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.677, allocations: 31.86 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.6772, allocations: 141.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6773, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6773, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.6773, allocations: 3.984 kB / 1.02 GB, free: 15.84 MB / 0.7794 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.0007541/0.678, allocations: 420.8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.6781, allocations: 8.031 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.6781, allocations: 12.84 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.6783, allocations: 172.4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.6783, allocations: 4.375 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.6784, allocations: 4.375 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.6786, allocations: 73.95 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6786, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.6786, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6787, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.6788, allocations: 39.91 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.6795, allocations: 316.6 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.6797, allocations: 50.56 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.6798, allocations: 36.95 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.6798, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.6801, allocations: 79.31 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.6801, allocations: 3.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004537/0.6806, allocations: 141.6 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.6806, allocations: 55.41 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.6807, allocations: 117.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.6808, allocations: 33.7 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.6809, allocations: 84.14 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.6809, allocations: 15.81 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.681, allocations: 29.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6811, allocations: 326.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.6812, allocations: 23.98 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6813, allocations: 50.5 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.6815, allocations: 70.55 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6815, allocations: 7.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002805/0.6818, allocations: 113.8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6819, allocations: 9.875 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6819, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6819, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.682, allocations: 15.92 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.682, allocations: 8.062 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.6821, allocations: 15.91 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.6821, allocations: 7.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 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.0001118/0.6822, allocations: 121.8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.6823, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.6823, allocations: 8.375 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6823, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6823, allocations: 3.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6823, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.6828, allocations: 382.3 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6829, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.6829, allocations: 3.984 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.6829, allocations: 4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.6829, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.6829, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.683, allocations: 3.938 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.6833, allocations: 219.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.6833, allocations: 81.02 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.6834, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.6835, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.6835, allocations: 15.92 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.6835, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.329e-05/0.6836, allocations: 95.27 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6836, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00032/0.6839, allocations: 47.92 kB / 1.023 GB, free: 12.19 MB / 0.7794 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.0004613/0.6844, allocations: 156.6 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.6847, allocations: 71.91 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6847, allocations: 4.125 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.6848, allocations: 43.91 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.6851, allocations: 7.188 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.6857, allocations: 197 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.6861, allocations: 0.6885 MB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.6861, allocations: 7.922 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.6862, allocations: 15.44 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.6862, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.005249/0.6914, allocations: 1.41 MB / 1.025 GB, free: 9.555 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time