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.009282/0.009282, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.00124/0.00124, allocations: 190 kB / 16.67 MB, free: 5.48 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.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.499/2.499, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8802, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003613/0.8838, allocations: 1.484 MB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.8853, allocations: 0.7323 MB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.8854, allocations: 0 / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.8854, allocations: 3.938 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.8855, allocations: 11.88 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.886, allocations: 119.6 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.8862, allocations: 79.75 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.8863, allocations: 12 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.8864, allocations: 35.86 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.8864, allocations: 43.81 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.8865, allocations: 4 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.8868, allocations: 95.91 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.8868, allocations: 15.98 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.8869, allocations: 35.8 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.8871, allocations: 139.2 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.8871, allocations: 8 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8872, allocations: 0 / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8872, allocations: 0 / 1.169 GB, free: 0.9922 MB / 0.8887 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.0007483/0.8879, allocations: 428.6 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.888, allocations: 8.922 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.888, allocations: 34.75 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.8881, allocations: 8.891 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.8882, allocations: 172.3 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.8882, allocations: 8.375 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.8883, allocations: 8.312 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8884, allocations: 69.78 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8884, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8885, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.8885, allocations: 7.938 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.8886, allocations: 35.97 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.8892, allocations: 316.7 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.8894, allocations: 50.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.8895, allocations: 32.95 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.8895, allocations: 12 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.8897, allocations: 79.38 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.8897, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003853/0.8901, allocations: 145.5 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.8902, allocations: 55.41 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.8903, allocations: 117.8 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.8903, allocations: 25.7 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.8904, allocations: 96.08 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.8905, allocations: 23.89 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.8905, allocations: 29.7 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8907, allocations: 322.8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.8907, allocations: 23.98 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.8909, allocations: 42.56 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.8911, allocations: 78.48 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8911, allocations: 4 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003006/0.8914, allocations: 113.5 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.8914, allocations: 8 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8914, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.8914, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.8915, allocations: 16.05 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.8915, allocations: 4 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.8916, allocations: 11.94 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.8916, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 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.055e-05/0.8917, allocations: 133.4 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.8917, allocations: 3.953 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.8918, allocations: 16.31 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8918, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8918, allocations: 4 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.8918, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.8923, allocations: 382.4 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8924, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.8924, allocations: 7.984 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8924, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.8924, allocations: 8 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8924, allocations: 3.938 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8925, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.8928, allocations: 203.5 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.8928, allocations: 89 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.8929, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.893, allocations: 11.94 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.893, allocations: 7.984 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.893, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.8931, allocations: 99.86 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.324e-06/0.8931, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003111/0.8934, allocations: 47.81 kB / 1.172 GB, free: 13.3 MB / 0.9044 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.001181/0.8946, allocations: 0.8047 MB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.8949, allocations: 75.89 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8949, allocations: 3.938 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.895, allocations: 31.98 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.8953, allocations: 12.5 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.8971, allocations: 1.501 MB / 1.174 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.8974, allocations: 0.6885 MB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.8974, allocations: 8 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.8975, allocations: 19.38 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/0.8975, allocations: 0 / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.9171, allocations: 2.657 MB / 1.178 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/8.217, allocations: 19.45 kB / 1.178 GB, free: 7.492 MB / 0.9044 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