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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9098/0.9098, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.699/1.699, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.413e-06/1.413e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.351e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001675/0.001689, allocations: 1.498 MB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.002649, allocations: 0.7639 MB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.002701, allocations: 4 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.00273, allocations: 7.922 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.002778, allocations: 19.8 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.003291, allocations: 139.5 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003395, allocations: 83.7 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.003488, allocations: 4.188 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.00363, allocations: 63.75 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.003684, allocations: 27.95 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.0037, allocations: 8 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.003887, allocations: 139.7 kB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.003908, allocations: 15.92 kB / 0.9532 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.003942, allocations: 27.91 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.004142, allocations: 171.4 kB / 0.9533 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.004146, allocations: 4 kB / 0.9534 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004147, allocations: 7.938 kB / 0.9534 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.004151, allocations: 0 / 0.9534 GB, free: 0.5273 MB / 0.9011 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.0004681/0.004619, allocations: 343.6 kB / 0.9537 GB, free: 160 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.004654, allocations: 8.031 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.004685, allocations: 38.73 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.004863, allocations: 32.88 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.005045, allocations: 125.7 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.005067, allocations: 4.375 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.00508, allocations: 4.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.00522, allocations: 70.16 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005227, allocations: 192 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005237, allocations: 7.938 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.005242, allocations: 4 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.005318, allocations: 35.97 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.005734, allocations: 275.8 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.005825, allocations: 54.44 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.005875, allocations: 28.97 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.005895, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.00602, allocations: 79.38 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.006021, allocations: 3.938 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002793/0.0063, allocations: 137.6 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.006336, allocations: 63.33 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.006409, allocations: 122.1 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.00642, allocations: 25.7 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.006474, allocations: 92.12 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.00649, allocations: 15.97 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.006528, allocations: 33.7 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.006604, allocations: 326.8 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.006653, allocations: 23.98 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.006708, allocations: 46.55 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.594e-05/0.006804, allocations: 74.8 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006806, allocations: 0 / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001445/0.006951, allocations: 125.5 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.006962, allocations: 8 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006967, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.006979, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.007036, allocations: 11.98 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.007042, allocations: 4 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.007077, allocations: 15.89 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.007086, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 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.568e-05/0.007152, allocations: 125.8 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.007162, allocations: 15.94 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.007183, allocations: 12.38 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007184, allocations: 0 / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.007188, allocations: 0 / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007191, allocations: 0 / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.00749, allocations: 345.5 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007491, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.007509, allocations: 3.984 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.00751, allocations: 7.938 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.007518, allocations: 8 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007519, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00752, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.007829, allocations: 215.4 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.007837, allocations: 3.953 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007849, allocations: 4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.007892, allocations: 7.984 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.007926, allocations: 4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.007934, allocations: 7.922 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.007968, allocations: 92.16 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007968, allocations: 4 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002002/0.008168, allocations: 43.86 kB / 0.9564 GB, free: 13.14 MB / 0.9167 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.0005103/0.008679, allocations: 0.8189 MB / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.008822, allocations: 68.28 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008823, allocations: 0 / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.008874, allocations: 36.12 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.009055, allocations: 16.09 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.01008, allocations: 1.493 MB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.01013, allocations: 81.27 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.01016, allocations: 7.984 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.0102, allocations: 20.48 kB / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.0102, allocations: 0 / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.02481, allocations: 3.408 MB / 0.9622 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.711, allocations: 6.312 kB / 0.9622 GB, free: 7.215 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.95073732919991]