Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_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_latest_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.001197/0.001197, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001317/0.001317, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003599, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6506/0.651, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001509/0.6526, allocations: 1.176 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.6536, allocations: 0.6745 MB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.6537, allocations: 3.938 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.6537, allocations: 3.984 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.6538, allocations: 3.984 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.6543, allocations: 99.64 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.6544, allocations: 47.92 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.6544, allocations: 11.94 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.6545, allocations: 35.84 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.6546, allocations: 31.89 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.6546, allocations: 4 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.6548, allocations: 63.94 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.6548, allocations: 19.91 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.6549, allocations: 33.7 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.655, allocations: 93.73 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.655, allocations: 8 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.061e-06/0.6551, allocations: 3.938 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.6551, allocations: 0 / 1.023 GB, free: 14.79 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.0005475/0.6556, allocations: 414.5 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6557, allocations: 11.98 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.6557, allocations: 11.91 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.6558, allocations: 167.1 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.6559, allocations: 8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.6559, allocations: 11.95 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.6561, allocations: 69.64 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6561, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.6561, allocations: 3.984 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.6561, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.6563, allocations: 47.92 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.6569, allocations: 324.6 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.657, allocations: 50.56 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.6571, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.6573, allocations: 91.5 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.6573, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000401/0.6577, allocations: 141.5 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.6578, allocations: 59.41 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.6579, allocations: 121.8 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6579, allocations: 29.7 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.658, allocations: 84.33 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.658, allocations: 19.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.658, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6582, allocations: 322.8 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.6583, allocations: 31.97 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.6584, allocations: 50.5 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.6586, allocations: 47.92 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6586, allocations: 0 / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002771/0.6589, allocations: 117.8 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6589, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6589, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.659, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.6591, allocations: 15.98 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.6591, allocations: 4.078 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.6592, allocations: 15.84 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.6592, allocations: 7.984 kB / 1.025 GB, free: 12.31 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.6594, allocations: 121.7 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.6594, allocations: 7.984 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.6594, allocations: 12.38 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6595, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6595, allocations: 4 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6595, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.6601, allocations: 382.4 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6601, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.6602, allocations: 11.94 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6602, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.6602, allocations: 7.984 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6602, allocations: 3.938 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6602, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.6606, allocations: 211.5 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.6606, allocations: 89 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.6606, allocations: 4 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.6607, allocations: 4 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.6608, allocations: 11.98 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.6608, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.6609, allocations: 91.27 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6609, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003385/0.6612, allocations: 39.94 kB / 1.026 GB, free: 11.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.6617, allocations: 167.2 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.6619, allocations: 75.95 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6619, allocations: 4.125 kB / 1.026 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.662, allocations: 39.91 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.6623, allocations: 16.5 kB / 1.026 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.6627, allocations: 212.8 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.663, allocations: 0.6887 MB / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.6631, allocations: 4.188 kB / 1.027 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.6631, allocations: 11.44 kB / 1.027 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of SimCode: time 1.964e-06/0.6631, allocations: 0 / 1.027 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of Templates: time 0.004372/0.6675, allocations: 1.333 MB / 1.029 GB, free: 8.641 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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