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.001392/0.001392, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001505/0.001505, allocations: 215 kB / 22.25 MB, free: 5.117 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 8.016 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.794/2.794, allocations: 476.8 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.001954/0.001954, allocations: 64.94 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3644, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002981/0.3674, allocations: 1.527 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.369, allocations: 0.8118 MB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.3691, allocations: 4 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.3691, allocations: 3.938 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.3692, allocations: 11.88 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.3698, allocations: 151.5 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.37, allocations: 75.78 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.3701, allocations: 8.172 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.3702, allocations: 43.84 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.3703, allocations: 39.83 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3703, allocations: 8 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.3706, allocations: 147.7 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3707, allocations: 15.98 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.3707, allocations: 35.8 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.371, allocations: 155 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.371, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.371, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.371, allocations: 3.938 kB / 1.286 GB, free: 8.543 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.0007166/0.3717, allocations: 355.5 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3718, allocations: 12.03 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.3718, allocations: 30.75 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.3722, allocations: 32.91 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3724, allocations: 134.3 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3724, allocations: 4.375 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.3725, allocations: 4.375 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3726, allocations: 73.58 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3727, allocations: 3.938 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3727, allocations: 4 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3727, allocations: 0 / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3728, allocations: 35.98 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.3734, allocations: 295.8 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.3735, allocations: 38.56 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.3736, allocations: 28.97 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3737, allocations: 4 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.3738, allocations: 79.38 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3738, allocations: 0 / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004371/0.3743, allocations: 137.8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.3743, allocations: 55.41 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3745, allocations: 126.8 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3745, allocations: 25.7 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.3746, allocations: 104.1 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3746, allocations: 15.84 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.3747, allocations: 29.7 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3749, allocations: 318.8 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.375, allocations: 27.97 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3751, allocations: 54.56 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3752, allocations: 74.55 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3753, allocations: 0 / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002812/0.3755, allocations: 109.6 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3756, allocations: 12 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3756, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3756, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3757, allocations: 15.98 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3757, allocations: 4 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.3758, allocations: 15.88 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.3758, allocations: 3.938 kB / 1.288 GB, free: 6.102 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.0001478/0.3759, allocations: 119.1 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.376, allocations: 11.94 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.376, allocations: 16.36 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.376, allocations: 3.938 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.376, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.376, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.3766, allocations: 357.5 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3766, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.3766, allocations: 4 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3766, allocations: 4 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3767, allocations: 3.984 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3767, allocations: 3.938 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3767, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.377, allocations: 203.5 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.377, allocations: 11.89 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.377, allocations: 7.984 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.563e-05/0.3771, allocations: 7.938 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3772, allocations: 11.92 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3772, allocations: 4 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.493e-05/0.3773, allocations: 95.27 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3773, allocations: 0 / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003819/0.3776, allocations: 35.94 kB / 1.289 GB, free: 5.141 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.001134/0.3788, allocations: 0.8092 MB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.379, allocations: 71.83 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3791, allocations: 128 / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3792, allocations: 39.92 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3795, allocations: 10.59 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3815, allocations: 1.506 MB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3819, allocations: 0.6885 MB / 1.292 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.382, allocations: 7.938 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.382, allocations: 23.42 kB / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.382, allocations: 0 / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.4135, allocations: 2.83 MB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.53, allocations: 7.188 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.11469529200076]