Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.2 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.001405/0.001405, allocations: 186.7 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.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.51/2.51, allocations: 476.7 MB / 0.7628 GB, free: 15.2 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.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 1.107 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.7977, allocations: 168.7 MB / 1.271 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002218/0.8, allocations: 1.499 MB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.8011, allocations: 0.7519 MB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.8011, allocations: 0 / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.8011, allocations: 9.312 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.8012, allocations: 10.39 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.8016, allocations: 121.1 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.8017, allocations: 74.58 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.8018, allocations: 9.406 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.8019, allocations: 43.64 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.802, allocations: 38.67 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.802, allocations: 10.62 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.8022, allocations: 100.3 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.8022, allocations: 14.39 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.8022, allocations: 38.95 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.8024, allocations: 144 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.8024, allocations: 1.188 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8024, allocations: 0 / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8024, allocations: 0 / 1.274 GB, free: 5.965 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.0004883/0.8029, allocations: 422.5 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.8029, allocations: 9.922 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.803, allocations: 33.05 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.803, allocations: 9.844 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.8031, allocations: 183 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.8031, allocations: 2.531 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.8031, allocations: 4.156 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.8033, allocations: 76.52 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.8033, allocations: 0 / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.8033, allocations: 1.5 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8033, allocations: 5.094 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.8034, allocations: 35.12 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.8039, allocations: 314.5 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.804, allocations: 48.05 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.8041, allocations: 33.3 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.8041, allocations: 2.719 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.8043, allocations: 85.08 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.8043, allocations: 0 / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003797/0.8046, allocations: 137.2 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.8047, allocations: 56.88 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.8047, allocations: 125.5 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.8047, allocations: 26.23 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.8048, allocations: 91.33 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.8048, allocations: 11.94 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.8048, allocations: 29.97 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.8049, allocations: 323.2 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.148e-05/0.805, allocations: 32.27 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.8051, allocations: 53.08 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.8052, allocations: 81.44 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8052, allocations: 1.031 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002192/0.8054, allocations: 113.9 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.8054, allocations: 7 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.8054, allocations: 1.156 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8054, allocations: 1.094 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.8055, allocations: 9.781 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.8055, allocations: 1.719 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.8056, allocations: 14.53 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.8056, allocations: 1.906 kB / 1.276 GB, free: 3.934 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 6.359e-05/0.8057, allocations: 128.1 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.8057, allocations: 11.39 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.8057, allocations: 11.34 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.8057, allocations: 1.938 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8057, allocations: 0 / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8057, allocations: 0 / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.8061, allocations: 383.1 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8061, allocations: 7.938 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.8061, allocations: 6.156 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8061, allocations: 0 / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.8061, allocations: 3.344 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8061, allocations: 4.938 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8061, allocations: 0 / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.8064, allocations: 204.5 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.8064, allocations: 82.42 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.8064, allocations: 6.188 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.8065, allocations: 7.625 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.8065, allocations: 10.31 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.8065, allocations: 4.094 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.8066, allocations: 90.41 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8066, allocations: 0.7188 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002807/0.8069, allocations: 41.44 kB / 1.277 GB, free: 3.078 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.0006047/0.8075, allocations: 0.802 MB / 1.278 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.8077, allocations: 85.88 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8077, allocations: 0.6562 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.8078, allocations: 31.88 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.808, allocations: 10.22 kB / 1.278 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.8094, allocations: 1.506 MB / 1.28 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.8096, allocations: 0.6901 MB / 1.28 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.8097, allocations: 8.797 kB / 1.28 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.8097, allocations: 21.39 kB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.8097, allocations: 0 / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.8352, allocations: 2.66 MB / 1.283 GB, free: 15.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.893, allocations: 9.734 kB / 1.283 GB, free: 15.75 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_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_Nicol2001HeatingEU.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.occ from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv failed! Error: Could not read variable hea.on in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv. Warning: Get data of variable hea.on from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.312940037001681]