Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001622/0.001622, allocations: 116.9 kB / 17.17 MB, free: 5.906 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.001769/0.001769, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.895/2.895, allocations: 476.7 MB / 0.7678 GB, free: 9.348 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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.002137/0.002137, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003455/1.038, allocations: 1.533 MB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00176/1.04, allocations: 0.8076 MB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/1.04, allocations: 1.344 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/1.04, allocations: 9.25 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/1.04, allocations: 9.938 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000708/1.041, allocations: 135.1 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/1.041, allocations: 77.59 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/1.041, allocations: 14.48 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/1.042, allocations: 47.27 kB / 1.281 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/1.042, allocations: 37.23 kB / 1.282 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/1.042, allocations: 6.562 kB / 1.282 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/1.042, allocations: 113.1 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/1.042, allocations: 23.14 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/1.042, allocations: 28.03 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003969/1.042, allocations: 156.5 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.042, allocations: 0.5625 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.595e-06/1.042, allocations: 0.6562 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.042, allocations: 0.5 kB / 1.282 GB, free: 9.809 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.0008635/1.043, allocations: 430.7 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.043, allocations: 10.12 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.133e-05/1.043, allocations: 5.25 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/1.043, allocations: 37.88 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/1.044, allocations: 26 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/1.044, allocations: 186.7 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/1.044, allocations: 2.906 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/1.044, allocations: 12.48 kB / 1.283 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/1.044, allocations: 71.5 kB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.044, allocations: 0 / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.044, allocations: 1.844 kB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.044, allocations: 1.906 kB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/1.045, allocations: 35.06 kB / 1.283 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/1.045, allocations: 315 kB / 1.283 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/1.045, allocations: 52.44 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/1.046, allocations: 30.22 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/1.046, allocations: 6.062 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/1.046, allocations: 72.14 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.046, allocations: 1.438 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004891/1.046, allocations: 141.1 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/1.046, allocations: 61.25 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/1.046, allocations: 122.9 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/1.047, allocations: 30.98 kB / 1.283 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/1.047, allocations: 92.58 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/1.047, allocations: 20.3 kB / 1.284 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/1.047, allocations: 28.89 kB / 1.284 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.047, allocations: 323.7 kB / 1.284 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/1.047, allocations: 28.11 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/1.047, allocations: 49.64 kB / 1.284 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/1.047, allocations: 76.73 kB / 1.284 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.047, allocations: 0 / 1.284 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002715/1.048, allocations: 112.5 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.048, allocations: 10.28 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.048, allocations: 0 / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.048, allocations: 2.266 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/1.048, allocations: 11.55 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.048, allocations: 1.5 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/1.048, allocations: 13.64 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/1.048, allocations: 11.7 kB / 1.284 GB, free: 7.758 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.0001368/1.048, allocations: 119.7 kB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/1.048, allocations: 7.297 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/1.048, allocations: 11.08 kB / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.048, allocations: 1.594 kB / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.048, allocations: 0 / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/1.048, allocations: 6.188 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/1.049, allocations: 377.3 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.049, allocations: 1.875 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/1.049, allocations: 12.94 kB / 1.285 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.049, allocations: 0 / 1.285 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/1.049, allocations: 6.391 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.049, allocations: 1.531 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.049, allocations: 0.5625 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/1.049, allocations: 214.9 kB / 1.285 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/1.049, allocations: 84.84 kB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/1.049, allocations: 6.156 kB / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/1.049, allocations: 4.078 kB / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/1.049, allocations: 8.5 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.049, allocations: 3.203 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.162e-05/1.049, allocations: 95.06 kB / 1.285 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.049, allocations: 0 / 1.285 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003553/1.05, allocations: 41.7 kB / 1.285 GB, free: 6.91 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.001041/1.051, allocations: 0.8172 MB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000278/1.051, allocations: 75.12 kB / 1.286 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.051, allocations: 0 / 1.286 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/1.051, allocations: 31.69 kB / 1.286 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/1.051, allocations: 6.141 kB / 1.286 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/1.053, allocations: 1.516 MB / 1.288 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/1.054, allocations: 0.6864 MB / 1.288 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.495e-05/1.054, allocations: 5.656 kB / 1.288 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/1.054, allocations: 24.83 kB / 1.288 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.054, allocations: 0 / 1.288 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/1.075, allocations: 2.738 MB / 1.291 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/9.61, allocations: 18.56 kB / 1.291 GB, free: 3.602 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.150169921980705] Failed to read output from testmodel.py, exit status != 0: 9.74404111498734 9.759840965 8.714416295 Calling exit ...