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.001347/0.001347, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001491/0.001491, allocations: 216.3 kB / 23.03 MB, free: 4.922 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.924/2.924, allocations: 476.8 MB / 0.7715 GB, free: 3.855 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.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="cs",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.002103/0.002103, allocations: 65.98 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003454/0.3529, allocations: 1.495 MB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.3548, allocations: 0.7535 MB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.3549, allocations: 4 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.3549, allocations: 3.938 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.355, allocations: 7.875 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.3558, allocations: 151.5 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.356, allocations: 67.84 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3561, allocations: 12.17 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.3563, allocations: 51.78 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.3564, allocations: 35.89 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3564, allocations: 8 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.3567, allocations: 147.7 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.3568, allocations: 15.92 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.3568, allocations: 27.86 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.3572, allocations: 152.9 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3572, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3572, allocations: 4 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3572, allocations: 0 / 1.287 GB, free: 7.688 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.0008424/0.358, allocations: 353.4 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.3581, allocations: 8.031 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.681e-05/0.3581, allocations: 12.19 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.3582, allocations: 34.75 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.3586, allocations: 32.84 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3589, allocations: 136.4 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.3589, allocations: 4.359 kB / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.359, allocations: 12.12 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.3592, allocations: 65.66 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.3592, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3592, allocations: 4 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3593, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3594, allocations: 39.97 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.3601, allocations: 271.8 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.3602, allocations: 46.55 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.3603, allocations: 28.97 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3604, allocations: 8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.3605, allocations: 75.38 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3605, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000462/0.361, allocations: 149.5 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.3611, allocations: 55.47 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3612, allocations: 122.1 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3612, allocations: 25.7 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.3613, allocations: 96.09 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3613, allocations: 23.77 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.3614, allocations: 33.7 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3615, allocations: 322.8 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.3616, allocations: 23.98 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3617, allocations: 50.55 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3619, allocations: 74.48 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3619, allocations: 0 / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002414/0.3621, allocations: 109.6 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3621, allocations: 11.92 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3622, allocations: 0 / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3622, allocations: 4 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.3623, allocations: 12 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3623, allocations: 3.938 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.3623, allocations: 11.92 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.3624, allocations: 4 kB / 1.289 GB, free: 5.25 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.0001/0.3625, allocations: 119.3 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.3625, allocations: 7.953 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.3625, allocations: 16.36 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3625, allocations: 0 / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3625, allocations: 0 / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3625, allocations: 3.938 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.363, allocations: 349.6 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.363, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.3631, allocations: 11.98 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3631, allocations: 4 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3631, allocations: 3.938 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3631, allocations: 4 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3631, allocations: 0 / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.3634, allocations: 215.5 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.3634, allocations: 11.89 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3634, allocations: 3.938 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.3635, allocations: 4 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3635, allocations: 11.92 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3636, allocations: 4 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.3636, allocations: 95.27 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 4 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003078/0.3639, allocations: 39.92 kB / 1.29 GB, free: 4.281 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.0009112/0.3648, allocations: 0.8103 MB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.3651, allocations: 79.83 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3651, allocations: 0 / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.3652, allocations: 31.92 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3655, allocations: 7.984 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.3674, allocations: 1.506 MB / 1.292 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.718e-05/0.3674, allocations: 75.27 kB / 1.292 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.3675, allocations: 4 kB / 1.292 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.3675, allocations: 23.42 kB / 1.292 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3675, allocations: 0 / 1.292 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.3912, allocations: 2.919 MB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.03, allocations: 7.125 kB / 1.295 GB, free: 14.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.99471308500506] Failed to read output from testmodel.py, exit status != 0: 12.73261717800051 12.238683808 11.875932446 Calling exit ...