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.001745/0.001745, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002039/0.002039, allocations: 214.9 kB / 23.04 MB, free: 5.07 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 / 256.8 MB, free: 8 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.74/2.74, allocations: 476.7 MB / 0.7714 GB, free: 4.309 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="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.002063/0.002063, allocations: 66.62 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 170 MB / 1.284 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00314/0.3438, allocations: 1.521 MB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3454, allocations: 0.8196 MB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.3455, allocations: 0 / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.3455, allocations: 3.938 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.3456, allocations: 15.88 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.3463, allocations: 147.5 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3464, allocations: 79.72 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3465, allocations: 8.172 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3467, allocations: 43.91 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.3468, allocations: 39.83 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3468, allocations: 4 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.3471, allocations: 151.7 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.3472, allocations: 11.98 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.744e-05/0.3473, allocations: 39.8 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.3476, allocations: 151 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3476, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3476, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.3477, allocations: 0 / 1.287 GB, free: 8.773 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.0009945/0.3486, allocations: 359.5 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.3487, allocations: 8.031 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.854e-05/0.3487, allocations: 192 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.531e-05/0.3488, allocations: 42.69 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.3492, allocations: 28.86 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.3495, allocations: 129.3 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.3495, allocations: 8.375 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3495, allocations: 8.125 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3498, allocations: 69.59 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3498, allocations: 7.984 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3498, allocations: 4 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3498, allocations: 0 / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.35, allocations: 35.92 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.3507, allocations: 287.8 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3509, allocations: 50.56 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.351, allocations: 24.97 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.351, allocations: 4 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3512, allocations: 79.31 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3512, allocations: 0 / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000491/0.3517, allocations: 137.7 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.3518, allocations: 59.41 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3519, allocations: 122.1 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.352, allocations: 25.7 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.3521, allocations: 100.1 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3521, allocations: 23.78 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.3522, allocations: 25.7 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.3524, allocations: 318.8 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.3525, allocations: 35.97 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3526, allocations: 46.5 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.3528, allocations: 70.55 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3528, allocations: 4 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000271/0.3531, allocations: 117.5 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3531, allocations: 4 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3531, allocations: 4 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3531, allocations: 0 / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3532, allocations: 15.92 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3532, allocations: 3.938 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.3533, allocations: 7.938 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3533, allocations: 4 kB / 1.289 GB, free: 6.328 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.0001219/0.3534, allocations: 117.9 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3534, allocations: 7.953 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.3535, allocations: 16.36 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3535, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3535, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3535, allocations: 3.938 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.354, allocations: 357.9 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.354, allocations: 4 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.3541, allocations: 4 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3541, allocations: 4 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3541, allocations: 7.922 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3541, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3541, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.3544, allocations: 215.4 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.3544, allocations: 11.89 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3545, allocations: 7.922 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.3545, allocations: 4 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.3546, allocations: 7.984 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3546, allocations: 4 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.315e-05/0.3547, allocations: 96.52 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3547, allocations: 0 / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003359/0.355, allocations: 35.94 kB / 1.29 GB, free: 5.363 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.0009866/0.356, allocations: 0.8126 MB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3562, allocations: 75.89 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3562, allocations: 0 / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.3563, allocations: 27.92 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3566, allocations: 8 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3585, allocations: 1.509 MB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3588, allocations: 0.6923 MB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.3589, allocations: 4 kB / 1.293 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.3589, allocations: 23.42 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3589, allocations: 0 / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3842, allocations: 2.857 MB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 14.38 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB " [Timeout remaining time 287] (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.904511803004425] Failed to read output from testmodel.py, exit status != 0: 12.970715641975403 12.373960687 12.022930472 Calling exit ...