Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001554/0.001554, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002077/0.002077, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.845/2.845, allocations: 476.8 MB / 0.7715 GB, free: 3.887 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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001979/0.001979, allocations: 62.16 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00368/0.3381, allocations: 1.514 MB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3398, allocations: 0.7496 MB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.3398, allocations: 4 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.3399, allocations: 7.922 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.3399, allocations: 15.86 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.3407, allocations: 143.5 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3409, allocations: 75.83 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.341, allocations: 8.172 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3412, allocations: 51.78 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.3412, allocations: 35.89 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3413, allocations: 8 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.3416, allocations: 143.8 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.3417, allocations: 19.92 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.3417, allocations: 31.84 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.3421, allocations: 148.6 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.703 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.0007416/0.3428, allocations: 355.5 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3429, allocations: 12.03 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.777e-05/0.3429, allocations: 4.188 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.3429, allocations: 30.75 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.3433, allocations: 32.91 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3436, allocations: 134.3 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3436, allocations: 8.359 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3436, allocations: 16.05 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3438, allocations: 69.59 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3438, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3439, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3439, allocations: 8 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.344, allocations: 35.97 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.3447, allocations: 267.9 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3448, allocations: 46.5 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.3449, allocations: 32.95 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3449, allocations: 4 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.3451, allocations: 75.38 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.3451, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004354/0.3456, allocations: 149.6 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3456, allocations: 51.41 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3457, allocations: 127.6 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3458, allocations: 29.7 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.3458, allocations: 92.09 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3459, allocations: 15.84 kB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.3459, allocations: 33.7 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3461, allocations: 326.8 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.3462, allocations: 19.98 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3463, allocations: 59.34 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.3465, allocations: 83.34 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3465, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002783/0.3467, allocations: 117.5 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3468, allocations: 8 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3468, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3468, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3469, allocations: 15.92 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3469, allocations: 7.938 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.347, allocations: 7.938 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.347, allocations: 4 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001052/0.3471, allocations: 121.9 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.3471, allocations: 7.953 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.3471, allocations: 8.375 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3471, allocations: 4 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3471, allocations: 0 / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3471, allocations: 3.938 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.3477, allocations: 353.6 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3477, allocations: 0 / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.3477, allocations: 7.938 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3477, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3477, allocations: 8 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3477, allocations: 4 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3477, allocations: 0 / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.3481, allocations: 219.4 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.3481, allocations: 11.89 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3481, allocations: 3.938 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.3482, allocations: 7.984 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.3483, allocations: 4 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3483, allocations: 7.984 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.3484, allocations: 98.52 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003305/0.3487, allocations: 35.94 kB / 1.29 GB, free: 4.277 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,occ.y,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.0009587/0.3497, allocations: 0.8136 MB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3499, allocations: 75.83 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3499, allocations: 3.938 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.35, allocations: 31.98 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3503, allocations: 10.03 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3523, allocations: 1.516 MB / 1.292 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.758e-05/0.3524, allocations: 87.2 kB / 1.292 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.3524, allocations: 0 / 1.292 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.3524, allocations: 23.42 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3524, allocations: 0 / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.378, allocations: 2.912 MB / 1.295 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.07, allocations: 10.22 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.03173980396241] Failed to read output from testmodel.py, exit status != 0: 12.774350869003683 12.257532981 11.910780948 Calling exit ...