Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001609/0.001609, 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.002123/0.002123, allocations: 215.8 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.498/1.498, 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.805/2.805, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.00198/0.00198, allocations: 67.48 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002948/0.3637, allocations: 1.516 MB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3651, allocations: 0.7496 MB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.3652, allocations: 4 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.3652, allocations: 7.922 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.3653, allocations: 11.86 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.3659, allocations: 143.5 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.366, allocations: 75.77 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.3661, allocations: 12.17 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.3663, allocations: 51.84 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.3664, allocations: 39.83 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3664, allocations: 8 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.3667, allocations: 139.8 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.3667, allocations: 15.92 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.3668, allocations: 27.91 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.367, allocations: 156.5 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.367, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.367, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3671, allocations: 0 / 1.287 GB, free: 7.699 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.0007042/0.3678, allocations: 355.6 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3678, allocations: 8.031 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.982e-05/0.3678, allocations: 4.188 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.3679, allocations: 38.73 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.3682, allocations: 24.92 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3684, allocations: 134.3 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3685, allocations: 8.375 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3685, allocations: 12.06 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3687, allocations: 69.59 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3687, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3687, allocations: 8 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3687, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3689, allocations: 35.97 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.3695, allocations: 271.9 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3696, allocations: 46.5 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.3697, allocations: 24.97 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3697, allocations: 8 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3699, allocations: 79.36 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3699, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004493/0.3704, allocations: 145.6 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.3704, allocations: 63.33 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3705, allocations: 120 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3706, allocations: 29.7 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.3706, allocations: 96.08 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.3707, allocations: 19.84 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.3707, allocations: 33.7 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3709, allocations: 318.8 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.371, allocations: 27.98 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3711, allocations: 46.56 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3713, allocations: 74.48 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3713, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002537/0.3715, allocations: 121.5 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3715, allocations: 4 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3716, allocations: 0 / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3716, allocations: 0 / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3717, allocations: 15.98 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3717, allocations: 0 / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.3717, allocations: 7.938 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3718, allocations: 8 kB / 1.289 GB, free: 5.266 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.0001105/0.3719, allocations: 121.8 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3719, allocations: 11.94 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.3719, allocations: 8.375 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3719, allocations: 4 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3719, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3719, allocations: 3.938 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.3725, allocations: 341.6 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3725, allocations: 0 / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.3725, allocations: 15.92 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3725, allocations: 4 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3725, allocations: 3.938 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3725, allocations: 3.938 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3725, allocations: 0 / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3728, allocations: 219.5 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.3729, allocations: 11.89 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3729, allocations: 7.938 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.373, allocations: 7.984 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.373, allocations: 0 / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.373, allocations: 7.984 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.387e-05/0.3731, allocations: 92.66 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3731, allocations: 0 / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003252/0.3734, allocations: 43.86 kB / 1.29 GB, free: 4.297 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.00101/0.3744, allocations: 0.8102 MB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.3747, allocations: 71.84 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3747, allocations: 0 / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3748, allocations: 39.95 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3751, allocations: 14 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.377, allocations: 1.501 MB / 1.292 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.427e-05/0.3771, allocations: 71.28 kB / 1.292 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.979e-05/0.3771, allocations: 7.984 kB / 1.292 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.3772, allocations: 19.44 kB / 1.292 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3772, allocations: 0 / 1.292 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.4016, allocations: 2.91 MB / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.16, allocations: 8.797 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.002394821029156] Failed to read output from testmodel.py, exit status != 0: 12.944840891985223 12.335619746 11.96519712 Calling exit ...