Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 174.5 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.5783 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009239/0.000924, allocations: 87.56 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 9.938 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001716/0.2516, allocations: 1.203 MB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2528, allocations: 0.7256 MB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.2528, allocations: 4 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.2529, allocations: 3.938 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.2529, allocations: 7.938 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.2534, allocations: 99.75 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.2535, allocations: 71.77 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.2536, allocations: 11.92 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.2537, allocations: 23.92 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.2537, allocations: 35.89 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.2538, allocations: 4 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.2539, allocations: 91.84 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.254, allocations: 15.92 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.254, allocations: 29.7 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.2542, allocations: 99.81 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2542, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.474e-06/0.2542, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2542, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 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.0005439/0.2547, allocations: 413.1 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2548, allocations: 8.031 kB / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.2548, allocations: 11.86 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.2549, allocations: 174.9 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.255, allocations: 8 kB / 0.9038 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.255, allocations: 11.97 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2552, allocations: 65.66 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2552, allocations: 0 / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2552, allocations: 3.938 kB / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2552, allocations: 8 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.2554, allocations: 43.97 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.2559, allocations: 320.7 kB / 0.9042 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.256, allocations: 50.56 kB / 0.9043 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.3e-05/0.2561, allocations: 36.97 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2561, allocations: 0 / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.2563, allocations: 79.38 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2564, allocations: 0 / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003618/0.2567, allocations: 157.7 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2568, allocations: 55.41 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.2568, allocations: 118.2 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2568, allocations: 29.7 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.2569, allocations: 96.38 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.2569, allocations: 15.81 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.2569, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.257, allocations: 318.8 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.2571, allocations: 35.92 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.2571, allocations: 50.61 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.233e-05/0.2572, allocations: 40.05 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2572, allocations: 0 / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002033/0.2575, allocations: 121.5 kB / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2575, allocations: 7.938 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2575, allocations: 0 / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2575, allocations: 4 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.2576, allocations: 19.94 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2576, allocations: 0 / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.2577, allocations: 23.84 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2577, allocations: 3.984 kB / 0.9054 GB, free: 58.95 MB / 0.6042 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.2578, allocations: 117.8 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.2578, allocations: 0 / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.2578, allocations: 12.38 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2578, allocations: 0 / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2579, allocations: 7.891 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2579, allocations: 0 / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.2582, allocations: 390.4 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2582, allocations: 0 / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.2583, allocations: 7.984 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2583, allocations: 0 / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2583, allocations: 3.953 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2583, allocations: 4 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2583, allocations: 0 / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.2585, allocations: 215.3 kB / 0.9061 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.2586, allocations: 81.11 kB / 0.9062 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2586, allocations: 4 kB / 0.9062 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.2587, allocations: 7.953 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.2587, allocations: 11.98 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2587, allocations: 0 / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.2588, allocations: 95.27 kB / 0.9063 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2588, allocations: 0 / 0.9063 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002693/0.2591, allocations: 43.92 kB / 0.9064 GB, free: 57.87 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.2594, allocations: 163.2 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.2596, allocations: 79.83 kB / 0.9066 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2596, allocations: 0 / 0.9066 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.2597, allocations: 44.3 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.26, allocations: 12.06 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.2604, allocations: 226.8 kB / 0.9069 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.2605, allocations: 0.6887 MB / 0.9075 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.2605, allocations: 15.44 kB / 0.9076 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2605, allocations: 4 kB / 0.9076 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.002962/0.2635, allocations: 1.614 MB / 0.9091 GB, free: 54.99 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)