Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001422/0.001422, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001499/0.001499, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.796/2.796, allocations: 476.7 MB / 0.7714 GB, free: 4.305 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.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.002075/0.002075, allocations: 61.64 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002826/0.3348, allocations: 1.531 MB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3364, allocations: 0.8196 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.3364, allocations: 3.938 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.3364, allocations: 7.938 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.3365, allocations: 11.88 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.3371, allocations: 139.6 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3372, allocations: 83.69 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.3373, allocations: 11.97 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3374, allocations: 43.92 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.3375, allocations: 39.83 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3375, allocations: 4 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.3378, allocations: 151.7 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.3378, allocations: 15.97 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.3379, allocations: 35.8 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3381, allocations: 143.7 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3382, allocations: 0 / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3382, allocations: 3.938 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3382, allocations: 0 / 1.287 GB, free: 8.715 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.0006135/0.3388, allocations: 359.5 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3388, allocations: 12.03 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.131e-05/0.3388, allocations: 4.188 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.3389, allocations: 30.75 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.3392, allocations: 32.86 kB / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3394, allocations: 126.4 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3394, allocations: 12.38 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3394, allocations: 8.125 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3396, allocations: 69.59 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3396, allocations: 4 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3396, allocations: 3.938 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3396, allocations: 4 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.3398, allocations: 39.91 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.3404, allocations: 279.9 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3405, allocations: 50.55 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.3406, allocations: 28.97 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3406, allocations: 4.062 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.3408, allocations: 83.3 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3408, allocations: 0 / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004181/0.3412, allocations: 141.6 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3413, allocations: 55.41 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.3414, allocations: 125.9 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3414, allocations: 25.7 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.3415, allocations: 96.09 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3416, allocations: 23.81 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.3417, allocations: 25.7 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3418, allocations: 330.7 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.3419, allocations: 27.98 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.342, allocations: 50.48 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3422, allocations: 70.55 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3422, allocations: 4 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00026/0.3425, allocations: 109.6 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3425, allocations: 10.33 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3425, allocations: 3.938 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3425, allocations: 4 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.3426, allocations: 8 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3426, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.3427, allocations: 11.92 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3427, allocations: 12 kB / 1.289 GB, free: 6.258 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 0.0001533/0.3428, allocations: 113.8 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3428, allocations: 7.953 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.3429, allocations: 12.36 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3429, allocations: 4 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3429, allocations: 0 / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3429, allocations: 7.875 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.3434, allocations: 353.6 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3434, allocations: 0 / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.3434, allocations: 4 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3434, allocations: 0 / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3434, allocations: 3.938 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3434, allocations: 11.92 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3435, allocations: 0 / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.3438, allocations: 207.5 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.3438, allocations: 15.89 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3438, allocations: 7.922 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.3439, allocations: 7.984 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3439, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.344, allocations: 11.98 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.344, allocations: 95.27 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.344, allocations: 0 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003261/0.3443, allocations: 35.94 kB / 1.29 GB, free: 5.297 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.001006/0.3454, allocations: 0.8027 MB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.3456, allocations: 79.83 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3456, allocations: 3.938 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.3457, allocations: 27.98 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3459, allocations: 13.48 kB / 1.291 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.3478, allocations: 1.502 MB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3482, allocations: 0.6885 MB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.3482, allocations: 4 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.3483, allocations: 31.36 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3483, allocations: 0 / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3728, allocations: 2.843 MB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.94, allocations: 15.19 kB / 1.296 GB, free: 15.32 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.70588492800016] Failed to read output from testmodel.py, exit status != 0: 12.650745890976395 12.130525366 11.786938138 Calling exit ...