Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.002032/0.002032, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.002571/0.002571, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.55/1.55, 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.887/2.887, allocations: 476.7 MB / 0.7678 GB, free: 9.375 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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.002327/0.002327, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.039, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003276/1.042, allocations: 1.528 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001716/1.044, allocations: 0.8154 MB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/1.044, allocations: 1.188 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/1.044, allocations: 9.094 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/1.044, allocations: 10.77 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/1.045, allocations: 139.7 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/1.045, allocations: 76.98 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/1.045, allocations: 10.56 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/1.045, allocations: 47.61 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/1.045, allocations: 32.48 kB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/1.045, allocations: 6.406 kB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/1.045, allocations: 118.1 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/1.046, allocations: 18.84 kB / 1.282 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/1.046, allocations: 27.73 kB / 1.282 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/1.046, allocations: 153 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.046, allocations: 4.531 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.046, allocations: 0 / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.917e-06/1.046, allocations: 0.5312 kB / 1.282 GB, free: 9.82 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.0008555/1.047, allocations: 430.9 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/1.047, allocations: 14.33 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.225e-05/1.047, allocations: 1.25 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/1.047, allocations: 37.53 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/1.047, allocations: 30.56 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/1.048, allocations: 185.8 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/1.048, allocations: 3.031 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/1.048, allocations: 8.469 kB / 1.283 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/1.048, allocations: 68.11 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.048, allocations: 0 / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.048, allocations: 1.812 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.048, allocations: 1.156 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/1.048, allocations: 43.91 kB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/1.049, allocations: 318.6 kB / 1.283 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/1.049, allocations: 44.92 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/1.049, allocations: 29.59 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.049, allocations: 5.5 kB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/1.049, allocations: 77.47 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.049, allocations: 7.875 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005041/1.05, allocations: 137.7 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/1.05, allocations: 54.73 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/1.05, allocations: 124.4 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/1.05, allocations: 30.86 kB / 1.283 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/1.05, allocations: 92.17 kB / 1.284 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/1.05, allocations: 19.58 kB / 1.284 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/1.05, allocations: 25.72 kB / 1.284 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.05, allocations: 323.5 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.48e-05/1.051, allocations: 26.73 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/1.051, allocations: 55.86 kB / 1.284 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/1.051, allocations: 67.69 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.051, allocations: 0 / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002796/1.051, allocations: 117.4 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.051, allocations: 8.781 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.051, allocations: 1.25 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.051, allocations: 2.078 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/1.051, allocations: 14.83 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.051, allocations: 2.562 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/1.051, allocations: 12.75 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/1.051, allocations: 3.469 kB / 1.284 GB, free: 7.773 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.0001362/1.052, allocations: 125.4 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/1.052, allocations: 7.922 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/1.052, allocations: 6.188 kB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.052, allocations: 2.328 kB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.052, allocations: 0 / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/1.052, allocations: 3.938 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/1.052, allocations: 387.6 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.052, allocations: 2.141 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/1.052, allocations: 4.125 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.052, allocations: 5.656 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.052, allocations: 5.344 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.052, allocations: 1.562 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.052, allocations: 4.062 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/1.053, allocations: 210.8 kB / 1.285 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/1.053, allocations: 83.83 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.053, allocations: 6.281 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/1.053, allocations: 8.969 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/1.053, allocations: 8.266 kB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/1.053, allocations: 4.141 kB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.442e-05/1.053, allocations: 93.84 kB / 1.285 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.053, allocations: 1.312 kB / 1.285 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004/1.053, allocations: 41.64 kB / 1.285 GB, free: 6.918 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.001075/1.054, allocations: 0.8085 MB / 1.286 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002864/1.055, allocations: 69.61 kB / 1.286 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.055, allocations: 9.375 kB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/1.055, allocations: 27.31 kB / 1.286 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/1.055, allocations: 15.39 kB / 1.286 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/1.057, allocations: 1.518 MB / 1.288 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/1.058, allocations: 0.6874 MB / 1.288 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.111e-05/1.058, allocations: 5.797 kB / 1.288 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/1.058, allocations: 22.3 kB / 1.288 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.058, allocations: 0 / 1.288 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/1.079, allocations: 2.724 MB / 1.291 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/9.575, allocations: 11.03 kB / 1.291 GB, free: 3.621 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.996625887986738] Failed to read output from testmodel.py, exit status != 0: 9.70516467699781 9.721583451 8.672268877 Calling exit ...