Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.00134/0.00134, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001551/0.001551, allocations: 214 kB / 23.04 MB, free: 5.078 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.873/2.873, allocations: 476.7 MB / 0.7715 GB, free: 4.516 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.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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: 62.59 kB / 1.118 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3658, allocations: 170 MB / 1.284 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002912/0.3687, allocations: 1.526 MB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3703, allocations: 0.8118 MB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.3703, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.3703, allocations: 7.922 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.3704, allocations: 15.86 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.3711, allocations: 139.5 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3712, allocations: 83.75 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3713, allocations: 11.98 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3715, allocations: 51.84 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.3715, allocations: 39.83 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3715, allocations: 7.938 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.3718, allocations: 139.8 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.3719, allocations: 15.97 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.3719, allocations: 35.8 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.3722, allocations: 151.6 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3722, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3722, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3722, allocations: 4 kB / 1.287 GB, free: 8.613 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.0007102/0.3729, allocations: 355.5 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.373, allocations: 12.03 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.373, allocations: 192 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.373, allocations: 34.73 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.3734, allocations: 24.92 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.3737, allocations: 138.4 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3737, allocations: 8.375 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3737, allocations: 8.125 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3739, allocations: 69.59 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.374, allocations: 0 / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.374, allocations: 3.984 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.374, allocations: 7.938 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.3741, allocations: 35.97 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.3747, allocations: 283.9 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3749, allocations: 50.48 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.749e-05/0.3749, allocations: 28.97 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.375, allocations: 8.062 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.3752, allocations: 83.36 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3752, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.00044/0.3756, allocations: 141.5 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3756, allocations: 51.41 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3758, allocations: 126.1 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3758, allocations: 25.7 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.3759, allocations: 96.09 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3759, allocations: 27.81 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.376, allocations: 21.72 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3762, allocations: 326.8 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.3762, allocations: 23.98 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3763, allocations: 54.48 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3765, allocations: 74.5 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3765, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003817/0.3769, allocations: 113.5 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3769, allocations: 4 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3769, allocations: 3.938 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3769, allocations: 8.062 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.377, allocations: 11.98 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.377, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.3771, allocations: 11.92 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3771, allocations: 4 kB / 1.289 GB, free: 6.16 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.0001122/0.3772, allocations: 121.7 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3773, allocations: 7.953 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.3773, allocations: 12.38 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3773, allocations: 4 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3773, allocations: 0 / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3773, allocations: 7.922 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.3778, allocations: 345.6 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3778, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.3779, allocations: 11.92 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3779, allocations: 0 / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3779, allocations: 3.938 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3779, allocations: 8 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3779, allocations: 0 / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3782, allocations: 203.5 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.3782, allocations: 11.89 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3782, allocations: 3.938 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.3783, allocations: 7.984 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3784, allocations: 0 / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3784, allocations: 15.98 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.3785, allocations: 94.52 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3785, allocations: 4 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003444/0.3788, allocations: 35.94 kB / 1.29 GB, free: 5.203 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.001015/0.3798, allocations: 0.8154 MB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.3801, allocations: 71.84 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3801, allocations: 0 / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3802, allocations: 31.91 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3805, allocations: 14.56 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.3825, allocations: 1.501 MB / 1.293 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3828, allocations: 0.6885 MB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.3829, allocations: 7.984 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3829, allocations: 19.44 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3829, allocations: 3.938 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.4072, allocations: 2.86 MB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.95, allocations: 0 / 1.296 GB, free: 15.23 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.85013825300848] Failed to read output from testmodel.py, exit status != 0: 12.7193157110014 12.156635234 11.779554924 Calling exit ...