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.001362/0.001362, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001634/0.001634, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7672 GB, free: 5.219 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 67.91 kB / 1.112 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9111, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002733/0.9138, allocations: 1.517 MB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.9154, allocations: 0.804 MB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.9155, allocations: 4 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.9155, allocations: 11.86 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.9156, allocations: 11.86 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.9164, allocations: 135.5 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.9166, allocations: 83.77 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.9167, allocations: 4.188 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.9169, allocations: 47.83 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.297e-05/0.9169, allocations: 31.91 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.917, allocations: 8 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.9173, allocations: 119.8 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.9173, allocations: 11.92 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.9174, allocations: 31.86 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.9178, allocations: 157.3 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9178, allocations: 0 / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9178, allocations: 4 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.9178, allocations: 0 / 1.281 GB, free: 10.45 MB / 0.9825 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.0008313/0.9186, allocations: 432.6 kB / 1.282 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9187, allocations: 12.03 kB / 1.282 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.9187, allocations: 30.75 kB / 1.282 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.9192, allocations: 28.91 kB / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.9195, allocations: 192.2 kB / 1.282 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.9195, allocations: 8.375 kB / 1.282 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.9195, allocations: 4.375 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.9198, allocations: 73.59 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.9198, allocations: 0 / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.9198, allocations: 0 / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.9198, allocations: 0 / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.92, allocations: 35.97 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.9209, allocations: 328.6 kB / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.921, allocations: 42.56 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.9212, allocations: 24.97 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.9212, allocations: 3.984 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.9214, allocations: 79.39 kB / 1.282 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.9214, allocations: 0 / 1.282 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006056/0.922, allocations: 145.6 kB / 1.283 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.9221, allocations: 59.34 kB / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.9222, allocations: 122.1 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.9223, allocations: 25.7 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.9224, allocations: 100.1 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.9224, allocations: 11.91 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.9225, allocations: 29.7 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.9227, allocations: 322.8 kB / 1.283 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.9228, allocations: 31.92 kB / 1.283 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.9229, allocations: 46.55 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.923, allocations: 74.5 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.923, allocations: 0 / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002909/0.9233, allocations: 109.5 kB / 1.283 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9234, allocations: 10.19 kB / 1.283 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9234, allocations: 0 / 1.283 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9234, allocations: 0 / 1.283 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.9235, allocations: 23.98 kB / 1.283 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.9235, allocations: 4 kB / 1.283 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.9236, allocations: 11.94 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.9236, allocations: 7.922 kB / 1.283 GB, free: 7.805 MB / 0.9825 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 0.00012/0.9237, allocations: 120 kB / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.9237, allocations: 3.953 kB / 1.284 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.9237, allocations: 12.38 kB / 1.284 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9238, allocations: 4 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9238, allocations: 0 / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9238, allocations: 0 / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.9243, allocations: 390.7 kB / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9244, allocations: 4 kB / 1.284 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.9244, allocations: 7.922 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.9244, allocations: 7.984 kB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.9244, allocations: 0 / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.9244, allocations: 3.938 kB / 1.284 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9244, allocations: 4 kB / 1.284 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.9247, allocations: 215.4 kB / 1.284 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.9248, allocations: 81.06 kB / 1.284 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.9248, allocations: 0 / 1.284 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.9249, allocations: 11.92 kB / 1.284 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.9249, allocations: 4 kB / 1.284 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.9249, allocations: 0 / 1.284 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.925, allocations: 106.8 kB / 1.284 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.925, allocations: 0 / 1.284 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003281/0.9254, allocations: 39.92 kB / 1.284 GB, free: 6.707 MB / 0.9825 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.0009394/0.9263, allocations: 0.8008 MB / 1.285 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.9265, allocations: 63.91 kB / 1.285 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.9265, allocations: 0 / 1.285 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.9267, allocations: 35.92 kB / 1.285 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.9269, allocations: 15.98 kB / 1.285 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.9289, allocations: 1.512 MB / 1.287 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.9293, allocations: 0.699 MB / 1.287 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.9293, allocations: 7.984 kB / 1.287 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.9294, allocations: 19.44 kB / 1.288 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9294, allocations: 0 / 1.288 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.9578, allocations: 2.694 MB / 1.29 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.306, allocations: 16.86 kB / 1.29 GB, free: 0.875 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.647565629100427]