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.001593/0.001593, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002013/0.002013, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.672/1.672, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.866/2.866, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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.00204/0.00204, allocations: 63.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 169.9 MB / 1.279 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003096/1.115, allocations: 1.511 MB / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001702/1.117, allocations: 0.8158 MB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/1.117, allocations: 0 / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/1.117, allocations: 9.234 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/1.117, allocations: 10.39 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/1.117, allocations: 135.6 kB / 1.281 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/1.118, allocations: 78.88 kB / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/1.118, allocations: 5.922 kB / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/1.118, allocations: 47.19 kB / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/1.118, allocations: 41.05 kB / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/1.118, allocations: 6.312 kB / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/1.118, allocations: 114.3 kB / 1.282 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/1.118, allocations: 14.75 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/1.118, allocations: 31.94 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/1.119, allocations: 157.7 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.119, allocations: 3.938 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.119, allocations: 0.625 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.119, allocations: 0 / 1.282 GB, free: 9.703 MB / 0.9981 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.0007824/1.119, allocations: 435.8 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.119, allocations: 9.469 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/1.119, allocations: 1.406 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/1.12, allocations: 37.5 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/1.12, allocations: 31.09 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/1.12, allocations: 185.5 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/1.12, allocations: 3.188 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/1.12, allocations: 12.28 kB / 1.282 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/1.121, allocations: 68.27 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.121, allocations: 0 / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.121, allocations: 1.594 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/1.121, allocations: 5.031 kB / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/1.121, allocations: 35.72 kB / 1.283 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/1.121, allocations: 323.3 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/1.122, allocations: 44.61 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/1.122, allocations: 30.23 kB / 1.283 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/1.122, allocations: 1.25 kB / 1.283 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/1.122, allocations: 84.38 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.122, allocations: 0 / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004852/1.122, allocations: 146 kB / 1.283 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.122, allocations: 54.62 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/1.123, allocations: 120.9 kB / 1.283 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/1.123, allocations: 29.7 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/1.123, allocations: 93.64 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/1.123, allocations: 20.03 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/1.123, allocations: 28.77 kB / 1.284 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.123, allocations: 324.1 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/1.123, allocations: 27.67 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/1.123, allocations: 45.83 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/1.123, allocations: 71.88 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.123, allocations: 2.094 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002967/1.124, allocations: 114.8 kB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.124, allocations: 11.05 kB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.124, allocations: 0 / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.124, allocations: 2.219 kB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.124, allocations: 15.88 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.124, allocations: 1.438 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/1.124, allocations: 12.73 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/1.124, allocations: 4.562 kB / 1.284 GB, free: 7.652 MB / 0.9981 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.0001366/1.124, allocations: 119.5 kB / 1.284 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/1.124, allocations: 8.594 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/1.124, allocations: 9.359 kB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.124, allocations: 1.375 kB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.124, allocations: 8.5 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/1.124, allocations: 5.062 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/1.125, allocations: 379 kB / 1.285 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.125, allocations: 3.938 kB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/1.125, allocations: 6.359 kB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.125, allocations: 0 / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/1.125, allocations: 6.828 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.125, allocations: 1.594 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.125, allocations: 4 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/1.125, allocations: 215 kB / 1.285 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/1.125, allocations: 84.61 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/1.125, allocations: 4.688 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/1.125, allocations: 5.203 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/1.125, allocations: 4.406 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.125, allocations: 7.578 kB / 1.285 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.986e-05/1.126, allocations: 100.4 kB / 1.285 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.126, allocations: 3.938 kB / 1.285 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003531/1.126, allocations: 39.31 kB / 1.285 GB, free: 6.793 MB / 0.9981 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.0009809/1.127, allocations: 0.8051 MB / 1.286 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002819/1.127, allocations: 74.66 kB / 1.286 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.127, allocations: 0 / 1.286 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/1.127, allocations: 27.34 kB / 1.286 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/1.128, allocations: 15.83 kB / 1.286 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/1.13, allocations: 1.518 MB / 1.287 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/1.13, allocations: 0.6918 MB / 1.288 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.741e-05/1.13, allocations: 5.922 kB / 1.288 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/1.13, allocations: 20.78 kB / 1.288 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.13, allocations: 0 / 1.288 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/1.151, allocations: 2.742 MB / 1.291 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/9.847, allocations: 15.77 kB / 1.291 GB, free: 3.488 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.375099849014077] Failed to read output from testmodel.py, exit status != 0: 9.976397908001672 9.993723013 8.871864917 Calling exit ...