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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 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.001131/0.001131, allocations: 197 kB / 16.53 MB, free: 6.664 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.603/2.603, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6815, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003271/0.6848, allocations: 1.466 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.6864, allocations: 0.7362 MB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.6866, allocations: 4 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/0.6867, allocations: 11.92 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.6867, allocations: 7.875 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.6876, allocations: 127.5 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.6878, allocations: 71.84 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.6879, allocations: 11.97 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.6881, allocations: 39.92 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.6882, allocations: 39.84 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.6883, allocations: 8 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.6886, allocations: 95.83 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.6886, allocations: 19.89 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.6887, allocations: 31.86 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.689, allocations: 145.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.689, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.452e-06/0.689, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.689, allocations: 0 / 1.02 GB, free: 15.64 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.0007134/0.6897, allocations: 420.8 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.6898, allocations: 8.031 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.6898, allocations: 42.73 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.6899, allocations: 8.844 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.69, allocations: 168.4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.69, allocations: 384 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.6901, allocations: 8.375 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.6903, allocations: 77.66 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6903, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6903, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6903, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.6905, allocations: 35.97 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.6911, allocations: 324.6 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.6913, allocations: 50.5 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.6914, allocations: 36.91 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.6914, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.6917, allocations: 79.38 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.6917, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004603/0.6922, allocations: 145.6 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.6923, allocations: 59.34 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.6924, allocations: 121.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.6924, allocations: 25.7 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.6925, allocations: 92.14 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.6925, allocations: 11.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.6926, allocations: 29.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6927, allocations: 322.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.6928, allocations: 23.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.6929, allocations: 54.55 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.693, allocations: 74.48 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6931, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002359/0.6933, allocations: 113.5 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6933, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6933, allocations: 3.984 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6934, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.6934, allocations: 8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6935, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.6935, allocations: 19.83 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.6936, allocations: 4 kB / 1.022 GB, free: 13.05 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.956e-05/0.6937, allocations: 125.8 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.6937, allocations: 7.938 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.6937, allocations: 12.36 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6937, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.6937, allocations: 8 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6938, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.6942, allocations: 386.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6942, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.6942, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6943, allocations: 3.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.6943, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.6943, allocations: 11.86 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6943, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.6946, allocations: 203.5 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.6946, allocations: 81.02 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.6946, allocations: 8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.6947, allocations: 7.922 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.6948, allocations: 7.984 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6948, allocations: 7.984 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.6949, allocations: 91.92 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6949, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003066/0.6952, allocations: 39.94 kB / 1.023 GB, free: 11.96 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.0008229/0.696, allocations: 0.8053 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.6963, allocations: 79.89 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6963, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.6964, allocations: 39.97 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6967, allocations: 11.81 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.6982, allocations: 1.483 MB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.6984, allocations: 0.6846 MB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.6985, allocations: 11.98 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.6985, allocations: 23.38 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6985, allocations: 0 / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.7197, allocations: 2.62 MB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/7.804, allocations: 12.72 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.occ from file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv failed! Error: Could not read variable hea.on in file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.on from file Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_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