Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001343/0.001343, allocations: 97.31 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.001509/0.001509, allocations: 219.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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.819/2.819, allocations: 476.8 MB / 0.7715 GB, free: 3.859 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.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.00196/0.00196, allocations: 66.02 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3632, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003188/0.3664, allocations: 1.493 MB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.368, allocations: 0.7613 MB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.3681, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.3681, allocations: 3.938 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/0.3682, allocations: 7.875 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.3689, allocations: 155.5 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.369, allocations: 71.84 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.3691, allocations: 12.17 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3692, allocations: 47.78 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.3693, allocations: 31.91 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3693, allocations: 8 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.3696, allocations: 147.7 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.3697, allocations: 19.92 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.3697, allocations: 27.86 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.37, allocations: 151 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.37, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.37, allocations: 4 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5e-06/0.37, allocations: 0 / 1.287 GB, free: 7.691 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.0006595/0.3707, allocations: 359.5 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3707, allocations: 8.031 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.788e-05/0.3707, allocations: 192 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.3707, allocations: 34.75 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.3711, allocations: 28.91 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.3713, allocations: 139.4 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3713, allocations: 4.375 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3714, allocations: 12.06 kB / 1.287 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3715, allocations: 69.66 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3716, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3716, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3716, allocations: 3.984 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3717, allocations: 31.98 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.3723, allocations: 283.8 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3724, allocations: 42.56 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.3725, allocations: 32.91 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3725, allocations: 3.984 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.3727, allocations: 75.39 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.3727, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004257/0.3731, allocations: 149.5 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3732, allocations: 55.41 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3733, allocations: 129.7 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3733, allocations: 25.7 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.3734, allocations: 92.09 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3734, allocations: 23.91 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.3735, allocations: 29.7 kB / 1.288 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3736, allocations: 322.8 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.3737, allocations: 23.98 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3738, allocations: 50.55 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.374, allocations: 70.5 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.374, allocations: 4 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/0.3743, allocations: 113.5 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3743, allocations: 4 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3743, allocations: 0 / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3743, allocations: 3.984 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.3744, allocations: 23.98 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3744, allocations: 0 / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.3745, allocations: 15.88 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.3745, allocations: 7.984 kB / 1.289 GB, free: 5.246 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.0001099/0.3746, allocations: 115.2 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.3746, allocations: 7.953 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.3747, allocations: 8.375 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3747, allocations: 0 / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3747, allocations: 4 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3747, allocations: 7.938 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.3752, allocations: 346 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3752, allocations: 0 / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.3752, allocations: 4 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3752, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3752, allocations: 11.92 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3752, allocations: 0 / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3752, allocations: 0 / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3755, allocations: 215.6 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.3756, allocations: 11.89 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3756, allocations: 7.938 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.3757, allocations: 3.984 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3757, allocations: 11.92 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3757, allocations: 7.938 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.34e-05/0.3758, allocations: 95.27 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3758, allocations: 0 / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003097/0.3761, allocations: 35.94 kB / 1.29 GB, free: 4.293 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.0009292/0.377, allocations: 0.8137 MB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.3773, allocations: 75.83 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3773, allocations: 0 / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3774, allocations: 31.92 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3776, allocations: 15.72 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3795, allocations: 1.506 MB / 1.292 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.802e-05/0.3796, allocations: 75.27 kB / 1.292 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.3796, allocations: 11.98 kB / 1.292 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.3797, allocations: 27.36 kB / 1.292 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3797, allocations: 0 / 1.292 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.4056, allocations: 2.907 MB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.26, allocations: 3.297 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.08209712000098] Failed to read output from testmodel.py, exit status != 0: 12.98372753104195 12.436212431 12.062796142 Calling exit ...