Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007752/0.007752, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001806/0.001806, allocations: 195.6 kB / 16.67 MB, free: 5.93 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7595, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002147/0.7617, allocations: 1.477 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.7627, allocations: 0.7289 MB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.7628, allocations: 5.125 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.7628, allocations: 8.578 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.7629, allocations: 6.438 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.7634, allocations: 124.9 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.7635, allocations: 82.86 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.7636, allocations: 7.562 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.7636, allocations: 42.31 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.7637, allocations: 37.31 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.7637, allocations: 6.719 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.7639, allocations: 93.92 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.7639, allocations: 16.02 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.764, allocations: 32.14 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.7642, allocations: 148.4 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7642, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7642, allocations: 0.7969 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.7642, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 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.0004816/0.7647, allocations: 426.4 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.7648, allocations: 10.45 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.7648, allocations: 36.42 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.7648, allocations: 9.359 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.7649, allocations: 169 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.7649, allocations: 3.312 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.7649, allocations: 9.922 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.7651, allocations: 71.55 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7651, allocations: 4 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.7652, allocations: 0.75 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7652, allocations: 1.219 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.7653, allocations: 36.7 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.7658, allocations: 318 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.7659, allocations: 50.89 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.766, allocations: 39.22 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.7661, allocations: 1.828 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.7662, allocations: 72.08 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.7662, allocations: 0 / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003823/0.7666, allocations: 145.8 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.7667, allocations: 54.31 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.7668, allocations: 122.5 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.7668, allocations: 27.3 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.7668, allocations: 96.08 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.7668, allocations: 16.16 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.7669, allocations: 33.64 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.7669, allocations: 326.7 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.767, allocations: 27.27 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.7671, allocations: 46.69 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.7673, allocations: 72.28 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7673, allocations: 4.688 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002356/0.7676, allocations: 104.6 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.7676, allocations: 5.922 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7676, allocations: 1.156 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7676, allocations: 0.9375 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.7677, allocations: 15.41 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7677, allocations: 1.781 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.7678, allocations: 13.16 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.7678, allocations: 15.67 kB / 1.092 GB, free: 1.473 MB / 0.8575 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 5.98e-05/0.7679, allocations: 120.1 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.7679, allocations: 7.141 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.7679, allocations: 10.98 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7679, allocations: 1.859 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7679, allocations: 0 / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7679, allocations: 0.9375 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.7683, allocations: 383.1 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7683, allocations: 0.5625 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.7684, allocations: 12.67 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.7684, allocations: 0.7188 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.7684, allocations: 6.438 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.7684, allocations: 4.625 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7684, allocations: 0.5625 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.7687, allocations: 211.4 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.7687, allocations: 83.55 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.7687, allocations: 6.109 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.7688, allocations: 8.406 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.7689, allocations: 5.266 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.7689, allocations: 2.609 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.7689, allocations: 92.52 kB / 1.093 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7689, allocations: 0 / 1.093 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003158/0.7693, allocations: 42.86 kB / 1.093 GB, free: 0.625 MB / 0.8575 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.00074/0.77, allocations: 0.8191 MB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.7703, allocations: 68.98 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7703, allocations: 0 / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.7704, allocations: 32.36 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.7706, allocations: 15.19 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.7723, allocations: 1.496 MB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.7726, allocations: 0.6871 MB / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.7727, allocations: 8.891 kB / 1.096 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.7727, allocations: 24.81 kB / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.7727, allocations: 0 / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.7921, allocations: 2.643 MB / 1.099 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.95, allocations: 6.078 kB / 1.099 GB, free: 13.37 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable hea.occ in file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.occ from file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! Error: Could not read variable hea.on in file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.on from file Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! " Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:time,hea.TOut,hea.p,TOut.amplitude,TOut.f,TOut.offset