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.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.0008523/0.0008523, 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.001416/0.001416, allocations: 165.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.9459/0.9459, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.689/1.689, allocations: 359 MB / 0.6037 GB, free: 11.08 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.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 1.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.33e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001801/0.001814, allocations: 1.482 MB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000955/0.002769, allocations: 0.7677 MB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.002817, allocations: 4 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.002849, allocations: 7.875 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.002899, allocations: 15.84 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.003401, allocations: 147.4 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.003499, allocations: 75.77 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.003581, allocations: 8.188 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.003694, allocations: 55.88 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.003742, allocations: 31.89 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.00376, allocations: 8 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.003942, allocations: 143.6 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.00396, allocations: 11.98 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.004, allocations: 27.91 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.004196, allocations: 167.6 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004198, allocations: 0 / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004199, allocations: 0 / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.004203, allocations: 3.938 kB / 0.9533 GB, free: 0.5469 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.0004393/0.004642, allocations: 351.5 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.004677, allocations: 12.03 kB / 0.9537 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.004707, allocations: 34.75 kB / 0.9537 GB, free: 116 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.004875, allocations: 36.8 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.005044, allocations: 128.3 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.005062, allocations: 384 / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.005075, allocations: 12.36 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.005201, allocations: 70.22 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005208, allocations: 4.125 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.00522, allocations: 7.922 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005225, allocations: 4 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.005298, allocations: 35.97 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.005654, allocations: 275.8 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.005736, allocations: 50.48 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.005782, allocations: 32.97 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.0058, allocations: 4 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.005903, allocations: 75.38 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.005904, allocations: 3.938 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002638/0.006168, allocations: 137.6 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.006199, allocations: 55.48 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.006267, allocations: 122.1 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006278, allocations: 33.7 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.006317, allocations: 92.12 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.006332, allocations: 15.89 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.006367, allocations: 25.72 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.006444, allocations: 326.8 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.006489, allocations: 27.98 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.006546, allocations: 50.55 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.501e-05/0.006641, allocations: 74.81 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006643, allocations: 0 / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001386/0.006781, allocations: 113.5 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006793, allocations: 4 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.006799, allocations: 4 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.00681, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.006874, allocations: 19.92 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.00688, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.006916, allocations: 19.81 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.006927, allocations: 8.062 kB / 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.713e-05/0.006994, allocations: 117.8 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.007003, allocations: 7.953 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.007026, allocations: 12.44 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007028, allocations: 3.938 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007032, allocations: 0 / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.007037, allocations: 3.984 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.007333, allocations: 349.5 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007334, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.007351, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.007352, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.007363, allocations: 7.984 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007364, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007365, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.007536, allocations: 215.3 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.007546, allocations: 7.953 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.007561, allocations: 3.984 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.146e-05/0.007603, allocations: 4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.007637, allocations: 7.984 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.007645, allocations: 7.938 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.007687, allocations: 101.3 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007687, allocations: 0 / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002083/0.007895, allocations: 35.94 kB / 0.9564 GB, free: 13.15 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.0005378/0.008433, allocations: 0.8254 MB / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.008583, allocations: 72.2 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008584, allocations: 0 / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/0.008637, allocations: 28.08 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.0001908/0.008828, allocations: 25.72 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.001139/0.009967, allocations: 1.489 MB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.01002, allocations: 75.27 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.01005, allocations: 7.984 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.01009, allocations: 20.5 kB / 0.9588 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01009, allocations: 0 / 0.9588 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.02561, allocations: 3.401 MB / 0.9622 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.898, allocations: 3.781 kB / 0.9622 GB, free: 7.227 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.120537819340825]