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.001765/0.001765, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002489/0.002489, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.842/2.842, allocations: 476.8 MB / 0.7715 GB, free: 3.914 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.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.002013/0.002013, allocations: 64.55 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.311, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002723/0.3137, allocations: 1.515 MB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3151, allocations: 0.7497 MB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.3152, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.3152, allocations: 3.938 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.3152, allocations: 7.875 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.3158, allocations: 151.5 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.316, allocations: 75.78 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.3161, allocations: 12.17 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3162, allocations: 47.84 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.3163, allocations: 39.83 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3163, allocations: 8 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.3166, allocations: 143.7 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3166, allocations: 19.92 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.3166, allocations: 23.92 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.3169, allocations: 156.5 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3169, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3169, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3169, allocations: 0 / 1.287 GB, free: 7.734 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.0005846/0.3175, allocations: 359.5 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3175, allocations: 12.03 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.535e-05/0.3175, allocations: 192 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.3176, allocations: 34.75 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.3179, allocations: 24.91 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3181, allocations: 140.2 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3181, allocations: 4.375 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3182, allocations: 16.11 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3183, allocations: 65.66 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3183, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3184, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3184, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3185, allocations: 39.97 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.3191, allocations: 275.8 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3192, allocations: 50.55 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.3193, allocations: 28.97 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3193, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3195, allocations: 75.38 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3195, allocations: 0 / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004053/0.3199, allocations: 141.8 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3199, allocations: 55.41 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.32, allocations: 130.1 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3201, allocations: 25.7 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.3201, allocations: 100.1 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3201, allocations: 19.83 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.3202, allocations: 29.72 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3203, allocations: 322.8 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.3204, allocations: 23.98 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.3205, allocations: 46.55 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3207, allocations: 78.56 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3207, allocations: 0 / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.3209, allocations: 113.5 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3209, allocations: 8 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3209, allocations: 0 / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.321, allocations: 0 / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.321, allocations: 15.92 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3211, allocations: 4 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.3211, allocations: 19.98 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3211, allocations: 3.938 kB / 1.289 GB, free: 5.293 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 9.92e-05/0.3212, allocations: 119.2 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.3213, allocations: 7.953 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.3213, allocations: 8.375 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3213, allocations: 0 / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3213, allocations: 3.984 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3213, allocations: 7.938 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.3218, allocations: 345.6 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3218, allocations: 3.984 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.3218, allocations: 4 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3218, allocations: 0 / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3218, allocations: 11.92 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3218, allocations: 3.938 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3218, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3221, allocations: 211.4 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.3222, allocations: 15.88 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3222, allocations: 7.938 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.3223, allocations: 8 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3223, allocations: 7.984 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3223, allocations: 0 / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.3224, allocations: 99.89 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3224, allocations: 0 / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003084/0.3227, allocations: 39.92 kB / 1.29 GB, free: 4.328 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.000876/0.3236, allocations: 0.814 MB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3238, allocations: 75.83 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3238, allocations: 0 / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.3239, allocations: 31.92 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.3242, allocations: 11.98 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3259, allocations: 1.497 MB / 1.292 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.3259, allocations: 75.27 kB / 1.292 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.326, allocations: 4 kB / 1.292 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.326, allocations: 23.42 kB / 1.292 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.326, allocations: 4 kB / 1.292 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.3494, allocations: 2.9 MB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.19, allocations: 15.31 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.947279101936147] Failed to read output from testmodel.py, exit status != 0: 12.898097392986529 12.369222362 12.049103207 Calling exit ...