Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_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.007927/0.007927, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001896/0.001896, allocations: 191.7 kB / 16.68 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.544/2.544, allocations: 469.4 MB / 0.7422 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7403, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002492/0.7428, allocations: 1.483 MB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.7441, allocations: 0.7293 MB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.7441, allocations: 0 / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.7442, allocations: 7.938 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.7443, allocations: 11.86 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.7448, allocations: 119.6 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.745, allocations: 87.69 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.745, allocations: 15.94 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.48e-05/0.7451, allocations: 39.91 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.7452, allocations: 43.83 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.7452, allocations: 4 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.7454, allocations: 95.84 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.7455, allocations: 11.98 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.7455, allocations: 31.8 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.7458, allocations: 143.3 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7458, allocations: 0 / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7458, allocations: 3.938 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7458, allocations: 0 / 1.222 GB, free: 15.46 MB / 0.9512 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.0006127/0.7464, allocations: 428.7 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7465, allocations: 12.62 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.7465, allocations: 30.75 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.7466, allocations: 12.88 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.7467, allocations: 172.3 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.7467, allocations: 4.375 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.7467, allocations: 4.375 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.7469, allocations: 69.78 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7469, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7469, allocations: 4 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.747, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.7471, allocations: 47.91 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.7477, allocations: 308.7 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.7478, allocations: 58.48 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.7479, allocations: 32.97 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.7479, allocations: 0 / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.7481, allocations: 83.38 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.7481, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003911/0.7485, allocations: 137.6 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.7486, allocations: 59.41 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.7487, allocations: 125.8 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.7487, allocations: 25.7 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.7488, allocations: 92.14 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.7488, allocations: 11.89 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.7488, allocations: 29.66 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.749, allocations: 326.8 kB / 1.224 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.7491, allocations: 35.92 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.7492, allocations: 46.55 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.7493, allocations: 70.55 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7493, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002488/0.7496, allocations: 113.5 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7496, allocations: 4 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7496, allocations: 0 / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.7497, allocations: 4 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.7498, allocations: 19.92 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7498, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.7498, allocations: 11.92 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.7499, allocations: 4 kB / 1.225 GB, free: 12.86 MB / 0.9512 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.899e-05/0.75, allocations: 125.8 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.75, allocations: 7.953 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.75, allocations: 8.375 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.75, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7501, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.7501, allocations: 3.984 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.7505, allocations: 386.4 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7506, allocations: 4 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.7506, allocations: 4 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.7506, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7506, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7506, allocations: 3.938 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7507, allocations: 4 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.751, allocations: 207.4 kB / 1.225 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.751, allocations: 89.06 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.751, allocations: 0 / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.7511, allocations: 11.92 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.7512, allocations: 0 / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.7512, allocations: 11.97 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.7513, allocations: 87.28 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7513, allocations: 0 / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000326/0.7516, allocations: 43.86 kB / 1.226 GB, free: 11.77 MB / 0.9512 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.0008803/0.7525, allocations: 0.825 MB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.7528, allocations: 67.97 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7528, allocations: 4 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.7529, allocations: 35.98 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7532, allocations: 7.922 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.7548, allocations: 1.497 MB / 1.228 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.7551, allocations: 0.6947 MB / 1.229 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.7552, allocations: 0 / 1.229 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.7552, allocations: 23.42 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7552, allocations: 0 / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.774, allocations: 2.657 MB / 1.231 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.877, allocations: 10.42 kB / 1.231 GB, free: 5.973 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.occ from file Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv failed! Error: Could not read variable hea.on in file Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.on from file Buildings_latest_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