Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008498, allocations: 92.16 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.0009524/0.0009523, allocations: 173 kB / 16.92 MB, free: 6.652 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.344/1.344, 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 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.647, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001644/0.6487, allocations: 1.196 MB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.65, allocations: 0.717 MB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.6501, allocations: 11.88 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.6501, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.6502, allocations: 11.86 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.6507, allocations: 103.8 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.6508, allocations: 71.72 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.6509, allocations: 8 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.651, allocations: 35.89 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.6511, allocations: 35.84 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.6511, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.6513, allocations: 91.84 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.6514, allocations: 19.91 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.6514, allocations: 53.56 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.6516, allocations: 97.78 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6516, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6516, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6516, allocations: 0 / 1.026 GB, free: 13.43 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.0005722/0.6522, allocations: 414.9 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6523, allocations: 8.031 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.6523, allocations: 8.844 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6524, allocations: 180.2 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.6525, allocations: 8.312 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.6525, allocations: 4.375 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.6527, allocations: 81.95 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.6527, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6527, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.6527, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.6529, allocations: 39.97 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.6535, allocations: 324.7 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6536, allocations: 54.5 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.6537, allocations: 36.95 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.6537, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.6539, allocations: 79.28 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.6539, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000398/0.6543, allocations: 149.6 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.6544, allocations: 55.41 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.6545, allocations: 125.7 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.6545, allocations: 33.69 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.6546, allocations: 88.2 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.6546, allocations: 15.81 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.6546, allocations: 21.7 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.6547, allocations: 322.8 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.6548, allocations: 31.97 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.935e-05/0.6549, allocations: 50.5 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.6551, allocations: 82.48 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6551, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002955/0.6554, allocations: 125.4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.6554, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6554, allocations: 4.062 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6555, allocations: 4 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.6556, allocations: 11.98 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6556, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.6557, allocations: 15.94 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.6557, allocations: 0 / 1.028 GB, free: 10.84 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 9.387e-05/0.6558, allocations: 126.2 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.6558, allocations: 7.906 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.6559, allocations: 16.36 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6559, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6559, allocations: 3.984 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6559, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.6563, allocations: 390.4 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6563, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.6564, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6564, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.6564, allocations: 7.984 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6564, allocations: 4 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6564, allocations: 3.938 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.6567, allocations: 211.9 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.6568, allocations: 81.02 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.6568, allocations: 3.984 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.6569, allocations: 8 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.6569, allocations: 11.92 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.6569, allocations: 4 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.657, allocations: 95.2 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.657, allocations: 0 / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002942/0.6573, allocations: 43.94 kB / 1.029 GB, free: 9.73 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.000319/0.6576, allocations: 157.3 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.6579, allocations: 87.94 kB / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6579, allocations: 0 / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.658, allocations: 35.98 kB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.6583, allocations: 15.92 kB / 1.03 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.6586, allocations: 232.9 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.6589, allocations: 0.6926 MB / 1.031 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.6589, allocations: 11.44 kB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6589, allocations: 0 / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of Templates: time 0.003237/0.6622, allocations: 1.603 MB / 1.032 GB, free: 6.852 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches