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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 71.88 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8105, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002196/0.8127, allocations: 1.502 MB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.8138, allocations: 0.7472 MB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.8138, allocations: 0.8438 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.8139, allocations: 4.922 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.8139, allocations: 14.89 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.8144, allocations: 121.4 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.8145, allocations: 81.88 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.8146, allocations: 5.406 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.8146, allocations: 39.09 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.8147, allocations: 41.95 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.8147, allocations: 10.66 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.8149, allocations: 101.2 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.8149, allocations: 14.48 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.815, allocations: 36.94 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.8152, allocations: 143 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8152, allocations: 0 / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8152, allocations: 0.8125 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.8152, allocations: 0 / 1.274 GB, free: 5.934 MB / 0.9981 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.0004845/0.8157, allocations: 417.9 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.8157, allocations: 16.81 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.8157, allocations: 40.44 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.8157, allocations: 8.359 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.535e-05/0.8158, allocations: 180 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.8158, allocations: 3.062 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.8159, allocations: 10.95 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.816, allocations: 71.14 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.816, allocations: 0.9375 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.816, allocations: 0 / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.816, allocations: 5.844 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.8161, allocations: 34.89 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.8166, allocations: 318.5 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.8167, allocations: 44.69 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.8168, allocations: 34.42 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.8168, allocations: 0.8125 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.817, allocations: 79.98 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.817, allocations: 1.031 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003598/0.8173, allocations: 141.9 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.8174, allocations: 58.03 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.8174, allocations: 122.3 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.8174, allocations: 33.33 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.8175, allocations: 86.08 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.8175, allocations: 17.67 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.8175, allocations: 29.83 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.8176, allocations: 317.8 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.8176, allocations: 27.05 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.8177, allocations: 50.95 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.8179, allocations: 71.81 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8179, allocations: 0.8125 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002124/0.8181, allocations: 120 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8181, allocations: 5.406 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.8181, allocations: 1.719 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8181, allocations: 1.031 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.8182, allocations: 11.28 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.8182, allocations: 8.562 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.8183, allocations: 7.875 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.8183, allocations: 7.031 kB / 1.276 GB, free: 3.898 MB / 0.9981 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 5.728e-05/0.8183, allocations: 123.5 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.8183, allocations: 6.953 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.8184, allocations: 11.41 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8184, allocations: 4.656 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8184, allocations: 1.891 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8184, allocations: 4 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.8187, allocations: 392.7 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8187, allocations: 4.719 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.8188, allocations: 3.75 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8188, allocations: 0 / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.8188, allocations: 3.734 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8188, allocations: 3.938 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8188, allocations: 0.6875 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.819, allocations: 207.5 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.819, allocations: 83.17 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.819, allocations: 8.031 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.8191, allocations: 6.719 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.8192, allocations: 8.453 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.8192, allocations: 3.875 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.8192, allocations: 91.17 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8192, allocations: 0 / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002775/0.8195, allocations: 42.19 kB / 1.277 GB, free: 3.035 MB / 0.9981 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.0005942/0.8201, allocations: 0.8008 MB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.8203, allocations: 78.7 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8203, allocations: 0 / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.8204, allocations: 36 kB / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.8206, allocations: 13.14 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.8219, allocations: 1.501 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.8222, allocations: 0.6915 MB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.8222, allocations: 6.828 kB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.8223, allocations: 19.83 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.8223, allocations: 7.875 kB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.8479, allocations: 2.646 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.958, allocations: 18.67 kB / 1.283 GB, free: 15.71 MB / 1.014 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "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! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.36445392400492]