Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001721/0.001721, allocations: 116.1 kB / 17.17 MB, free: 6 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.001711/0.001711, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.571/1.571, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.941/2.941, allocations: 476.7 MB / 0.7678 GB, free: 9.391 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.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.002304/0.002304, allocations: 63.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19/1.192, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003198/1.195, allocations: 1.523 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001805/1.197, allocations: 0.8158 MB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/1.197, allocations: 0.9375 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/1.197, allocations: 4.641 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/1.197, allocations: 10.17 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/1.198, allocations: 143.4 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/1.198, allocations: 70.59 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/1.198, allocations: 13.94 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/1.199, allocations: 47.2 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/1.199, allocations: 36.7 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/1.199, allocations: 6.219 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/1.199, allocations: 113.5 kB / 1.282 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/1.199, allocations: 23.67 kB / 1.282 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/1.199, allocations: 31.16 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/1.199, allocations: 149.5 kB / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.199, allocations: 0.5312 kB / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.199, allocations: 0 / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.102e-06/1.199, allocations: 0.5 kB / 1.282 GB, free: 9.84 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.0007762/1.2, allocations: 441.6 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.2, allocations: 9.688 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.953e-05/1.2, allocations: 2 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/1.2, allocations: 33.16 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/1.201, allocations: 26.64 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/1.201, allocations: 190.1 kB / 1.283 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/1.201, allocations: 6.469 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/1.201, allocations: 13.25 kB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/1.201, allocations: 67.42 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.201, allocations: 0.5312 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.201, allocations: 5.438 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.201, allocations: 1.094 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/1.201, allocations: 35.56 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/1.202, allocations: 327.1 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/1.202, allocations: 44.23 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/1.202, allocations: 30.69 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/1.202, allocations: 1.062 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/1.203, allocations: 80.78 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/1.203, allocations: 0 / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004485/1.203, allocations: 137.3 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.203, allocations: 63.36 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/1.203, allocations: 124.6 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/1.203, allocations: 26.86 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/1.203, allocations: 95.73 kB / 1.284 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/1.203, allocations: 21.55 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/1.203, allocations: 27.53 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.204, allocations: 323.9 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/1.204, allocations: 24.3 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/1.204, allocations: 46.25 kB / 1.284 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/1.204, allocations: 80.52 kB / 1.284 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.204, allocations: 0 / 1.284 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002645/1.204, allocations: 107.8 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.204, allocations: 6.062 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.204, allocations: 1.828 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.204, allocations: 1.594 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/1.204, allocations: 11.66 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.204, allocations: 9.875 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/1.204, allocations: 17.03 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/1.204, allocations: 3.469 kB / 1.284 GB, free: 7.781 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 (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.0001057/1.205, allocations: 116.4 kB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/1.205, allocations: 7.828 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/1.205, allocations: 10.2 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.205, allocations: 1.656 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.205, allocations: 5 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.205, allocations: 4.594 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/1.205, allocations: 387.6 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.205, allocations: 0 / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/1.205, allocations: 9.938 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.205, allocations: 0 / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/1.205, allocations: 6.734 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.205, allocations: 0 / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.205, allocations: 1.438 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/1.206, allocations: 203.5 kB / 1.285 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/1.206, allocations: 83.08 kB / 1.285 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/1.206, allocations: 10 kB / 1.285 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/1.206, allocations: 8.062 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/1.206, allocations: 5.562 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/1.206, allocations: 7.5 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.176e-05/1.206, allocations: 100.8 kB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.206, allocations: 0 / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000359/1.206, allocations: 37.64 kB / 1.285 GB, free: 6.934 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 (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.0009717/1.207, allocations: 0.8159 MB / 1.286 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002651/1.207, allocations: 70.34 kB / 1.286 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.207, allocations: 0 / 1.286 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/1.208, allocations: 34.94 kB / 1.286 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/1.208, allocations: 8.578 kB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/1.21, allocations: 1.516 MB / 1.288 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/1.21, allocations: 0.6871 MB / 1.288 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.158e-05/1.21, allocations: 10.06 kB / 1.288 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/1.21, allocations: 20.55 kB / 1.288 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.21, allocations: 0.9375 kB / 1.288 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/1.231, allocations: 2.737 MB / 1.291 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.72, allocations: 7.922 kB / 1.291 GB, free: 3.625 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.25928868498886] Failed to read output from testmodel.py, exit status != 0: 9.84705900697736 9.862390539 8.659829834 Calling exit ...