Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001405/0.001405, allocations: 109 kB / 17.54 MB, free: 4.746 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.001472/0.001472, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] 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.515/2.515, allocations: 476.7 MB / 0.7628 GB, free: 15.16 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.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.756, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002135/0.7581, allocations: 1.51 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.7591, allocations: 0.7472 MB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.7591, allocations: 0.75 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.7592, allocations: 5.25 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.7592, allocations: 10.8 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.7597, allocations: 119.4 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.7598, allocations: 75.73 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.189e-05/0.7598, allocations: 10.58 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.7599, allocations: 44.2 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.76, allocations: 45.36 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.76, allocations: 5.875 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.7601, allocations: 96.42 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.7602, allocations: 14.06 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.7602, allocations: 43.61 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.7604, allocations: 142 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.7604, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7604, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7604, allocations: 1.094 kB / 1.274 GB, free: 5.926 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.0004754/0.7609, allocations: 421.6 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7609, allocations: 9.156 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.391e-05/0.7609, allocations: 39.05 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.761, allocations: 12.23 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.268e-05/0.761, allocations: 168.4 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.7611, allocations: 7.078 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.7611, allocations: 8.656 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.7612, allocations: 72.84 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.7612, allocations: 0 / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.7612, allocations: 0.9375 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.7613, allocations: 1.031 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.7614, allocations: 37.58 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.7618, allocations: 318.1 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7619, allocations: 52.2 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.762, allocations: 32.83 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.762, allocations: 1.875 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.7622, allocations: 76.11 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.7622, allocations: 3.984 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003395/0.7625, allocations: 142.5 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.7625, allocations: 53.67 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.7626, allocations: 123.1 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.7626, allocations: 30.98 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.7626, allocations: 92.41 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.7626, allocations: 16.05 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.7627, allocations: 26.38 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.7627, allocations: 327.4 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.7628, allocations: 27.77 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.7629, allocations: 45.03 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.763, allocations: 79.03 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.763, allocations: 0.75 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002096/0.7632, allocations: 110.3 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7632, allocations: 5.438 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.7632, allocations: 0.9375 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7633, allocations: 0.875 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.7633, allocations: 15.52 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.7633, allocations: 1.906 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.7634, allocations: 13.59 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.7634, allocations: 3.625 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.877e-05/0.7635, allocations: 127.9 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.7635, allocations: 12.53 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.7635, allocations: 6.125 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.7635, allocations: 0.6875 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7635, allocations: 0.7188 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7635, allocations: 1.359 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.7639, allocations: 391 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7639, allocations: 3.938 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.7639, allocations: 5.766 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7639, allocations: 0 / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.7639, allocations: 1.719 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7639, allocations: 4.594 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7639, allocations: 1.859 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.7642, allocations: 215.5 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.7642, allocations: 78.98 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7642, allocations: 4.812 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.7643, allocations: 6.125 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.7643, allocations: 4.766 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.7643, allocations: 7.516 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.7644, allocations: 97.03 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7644, allocations: 0 / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002795/0.7646, allocations: 45.78 kB / 1.277 GB, free: 3.031 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.0005937/0.7652, allocations: 0.801 MB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.7655, allocations: 77.83 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.7655, allocations: 0 / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.7655, allocations: 27.69 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.7658, allocations: 17.08 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.7671, allocations: 1.507 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.7674, allocations: 0.6891 MB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.7674, allocations: 10.88 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.7675, allocations: 23.5 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7675, allocations: 0 / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.7913, allocations: 2.647 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.959, allocations: 4.766 kB / 1.283 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_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_Nicol2001HeatingPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.occ from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! Error: Could not read variable hea.on in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.on from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.392489558995294]