Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.004876/0.004876, 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.001308/0.001308, allocations: 200.3 kB / 16.68 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 64.12 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6962/0.6981, allocations: 159.1 MB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002603/0.7007, allocations: 1.472 MB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.7021, allocations: 0.7331 MB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.7021, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.7022, allocations: 7.922 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.7022, allocations: 11.88 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.7028, allocations: 123.6 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.7029, allocations: 79.77 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.703, allocations: 15.94 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.7031, allocations: 35.86 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.7032, allocations: 47.81 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.7032, allocations: 8 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.7034, allocations: 87.91 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.7034, allocations: 15.98 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.7035, allocations: 35.8 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.7037, allocations: 147.2 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7037, allocations: 0 / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7038, allocations: 0 / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7038, allocations: 0 / 1.223 GB, free: 15.17 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.0006327/0.7044, allocations: 420.7 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7044, allocations: 8.031 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.7045, allocations: 42.73 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.7045, allocations: 8.891 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.7047, allocations: 172.3 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.7047, allocations: 4.375 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.7047, allocations: 8.375 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.7049, allocations: 73.72 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7049, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.7049, allocations: 3.984 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7049, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.7051, allocations: 35.98 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.7057, allocations: 316.7 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.7058, allocations: 50.5 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.7059, allocations: 36.97 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.706, allocations: 11.95 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.7062, allocations: 79.36 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.7062, allocations: 0 / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004023/0.7066, allocations: 141.5 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.7066, allocations: 59.39 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.7068, allocations: 117.8 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.7068, allocations: 33.7 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.7069, allocations: 92.12 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.7069, allocations: 11.91 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.7069, allocations: 29.7 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7071, allocations: 322.8 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.7072, allocations: 19.98 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.7073, allocations: 62.53 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.7075, allocations: 70.48 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7075, allocations: 4 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002447/0.7077, allocations: 105.5 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7078, allocations: 8.062 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7078, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7078, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.7079, allocations: 12 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7079, allocations: 3.984 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.708, allocations: 11.94 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.708, allocations: 4 kB / 1.225 GB, free: 12.57 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 0.0001015/0.7081, allocations: 121.7 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.7081, allocations: 15.94 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.7082, allocations: 16.3 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.7082, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7082, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7082, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.7087, allocations: 386.8 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7087, allocations: 3.938 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.7088, allocations: 4 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7088, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.7088, allocations: 7.984 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7088, allocations: 4.016 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7088, allocations: 3.984 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.7091, allocations: 199.5 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.7092, allocations: 81.06 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.7092, allocations: 11.98 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.7093, allocations: 3.938 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.7094, allocations: 11.98 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.7094, allocations: 0 / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.7094, allocations: 99.2 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7094, allocations: 0 / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003051/0.7098, allocations: 39.88 kB / 1.226 GB, free: 11.48 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.0008863/0.7106, allocations: 0.817 MB / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.7109, allocations: 63.91 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7109, allocations: 3.938 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.711, allocations: 40.09 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.7113, allocations: 11.94 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.713, allocations: 1.496 MB / 1.228 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.7134, allocations: 0.6846 MB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.7134, allocations: 7.984 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.7135, allocations: 23.38 kB / 1.229 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7135, allocations: 3.938 kB / 1.229 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.7366, allocations: 2.649 MB / 1.232 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.469, allocations: 11.14 kB / 1.232 GB, free: 5.684 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv. Warning: Get data of variable hea.occ from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv failed! Error: Could not read variable hea.on in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.csv. Warning: Get data of variable hea.on from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_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