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.005193/0.005193, allocations: 99.34 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.001346/0.001346, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.733/2.733, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002747/0.2862, allocations: 1.484 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2875, allocations: 0.7284 MB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.2876, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.2876, allocations: 3.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.2877, allocations: 11.88 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.2882, allocations: 123.5 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2883, allocations: 91.69 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.2884, allocations: 8 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.2885, allocations: 31.91 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.2886, allocations: 43.83 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2886, allocations: 8 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.2888, allocations: 95.84 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2888, allocations: 11.98 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.2889, allocations: 31.86 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.2892, allocations: 155.8 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2892, allocations: 0 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2892, allocations: 0 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2892, allocations: 0 / 1.169 GB, free: 4.492 MB / 0.92 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.0006824/0.2899, allocations: 424.7 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2899, allocations: 8.031 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.29, allocations: 42.69 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.29, allocations: 8.891 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.2902, allocations: 172.3 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.2903, allocations: 8.375 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.2903, allocations: 8.375 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2905, allocations: 69.78 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2905, allocations: 0 / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2905, allocations: 0 / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2905, allocations: 0 / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.2907, allocations: 39.91 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.2913, allocations: 316.8 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2914, allocations: 46.56 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.2915, allocations: 40.95 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2916, allocations: 4 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.2918, allocations: 79.31 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2918, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/0.2922, allocations: 137.6 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2923, allocations: 55.41 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2924, allocations: 121.8 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2925, allocations: 29.7 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.2925, allocations: 96.09 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.2926, allocations: 19.91 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.2926, allocations: 29.7 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.2928, allocations: 326.8 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.2929, allocations: 23.98 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.293, allocations: 50.5 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2932, allocations: 78.48 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2932, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002479/0.2935, allocations: 109.5 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2935, allocations: 6.031 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2935, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2935, allocations: 4.062 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2936, allocations: 23.92 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2937, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.2937, allocations: 4 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2937, allocations: 4 kB / 1.171 GB, free: 1.898 MB / 0.92 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 0.000105/0.2939, allocations: 124.9 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.2939, allocations: 7.953 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.2939, allocations: 8.375 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2939, allocations: 4 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2939, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2939, allocations: 4 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.2945, allocations: 386.8 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2945, allocations: 4 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.2945, allocations: 11.92 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2945, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2945, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2946, allocations: 4.016 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2946, allocations: 7.984 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.2949, allocations: 207.4 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.295, allocations: 88.98 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.295, allocations: 8 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.2951, allocations: 3.938 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.2952, allocations: 7.984 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.2952, allocations: 4 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.2953, allocations: 95.92 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2953, allocations: 0 / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002834/0.2956, allocations: 39.92 kB / 1.172 GB, free: 0.8047 MB / 0.92 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.0008775/0.2964, allocations: 0.8039 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.2967, allocations: 63.91 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2967, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2968, allocations: 35.92 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.2971, allocations: 20.05 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.2988, allocations: 1.489 MB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.2992, allocations: 0.6924 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.2992, allocations: 4 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.2993, allocations: 23.42 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2993, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.3227, allocations: 2.653 MB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.149, allocations: 11.89 kB / 1.178 GB, free: 11.02 MB / 0.9356 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