Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.692/1.692, allocations: 252 MB / 267.6 MB, free: 10.91 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.0009462/0.0009462, allocations: 183.7 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5783 GB, free: 20.48 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.001082/0.001082, allocations: 80 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 12.34 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.267, allocations: 106.3 MB / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002119/0.2692, allocations: 1.203 MB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2706, allocations: 0.7295 MB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.2707, allocations: 4 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2707, allocations: 3.938 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.2708, allocations: 11.86 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.2715, allocations: 99.77 kB / 0.9028 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2716, allocations: 71.7 kB / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2718, allocations: 8 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2719, allocations: 31.89 kB / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.272, allocations: 31.84 kB / 0.903 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.272, allocations: 4 kB / 0.903 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.2723, allocations: 83.91 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.2723, allocations: 15.92 kB / 0.9031 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.2724, allocations: 37.7 kB / 0.9031 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2726, allocations: 95.81 kB / 0.9032 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2726, allocations: 0 / 0.9032 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2726, allocations: 0 / 0.9032 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.2726, allocations: 0 / 0.9032 GB, free: 61.8 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.0007011/0.2733, allocations: 413.1 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2734, allocations: 8.031 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.2734, allocations: 11.86 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2736, allocations: 178.9 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.2736, allocations: 4 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.2737, allocations: 4 kB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.2739, allocations: 69.66 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2739, allocations: 3.938 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.2739, allocations: 3.984 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2739, allocations: 7.984 kB / 0.9039 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.2741, allocations: 39.98 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.2747, allocations: 324.7 kB / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.2749, allocations: 50.56 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.275, allocations: 36.97 kB / 0.9043 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.275, allocations: 0 / 0.9043 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.2752, allocations: 87.36 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.2752, allocations: 0 / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004261/0.2757, allocations: 153.5 kB / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2757, allocations: 51.41 kB / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.2758, allocations: 125.8 kB / 0.9047 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2758, allocations: 29.7 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2759, allocations: 88.33 kB / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2759, allocations: 19.8 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.2759, allocations: 0 / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.276, allocations: 314.8 kB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.2761, allocations: 35.97 kB / 0.9052 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.394e-05/0.2762, allocations: 50.56 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.2763, allocations: 35.92 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2763, allocations: 3.938 kB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.2766, allocations: 121.5 kB / 0.9054 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2766, allocations: 4 kB / 0.9054 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2766, allocations: 4 kB / 0.9054 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2767, allocations: 4 kB / 0.9054 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2768, allocations: 15.94 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2768, allocations: 3.938 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.2769, allocations: 15.84 kB / 0.9054 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.2769, allocations: 8 kB / 0.9054 GB, free: 59.29 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 9.011e-05/0.277, allocations: 128.4 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.277, allocations: 4 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.277, allocations: 8.375 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.277, allocations: 0 / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2771, allocations: 3.953 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2771, allocations: 0 / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.2775, allocations: 386.4 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2775, allocations: 0 / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.2776, allocations: 7.984 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2776, allocations: 0 / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2776, allocations: 3.953 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2776, allocations: 7.938 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2776, allocations: 0 / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.2779, allocations: 219.4 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.278, allocations: 81.09 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.278, allocations: 0 / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.2781, allocations: 7.953 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.2782, allocations: 11.98 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2782, allocations: 4 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.2783, allocations: 95.92 kB / 0.9063 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2783, allocations: 0 / 0.9063 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003406/0.2786, allocations: 39.94 kB / 0.9064 GB, free: 58.2 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.0005158/0.2791, allocations: 169.9 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.2794, allocations: 79.91 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2794, allocations: 0 / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2795, allocations: 35.92 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.2798, allocations: 11.98 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.2803, allocations: 234.9 kB / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.2805, allocations: 0.6848 MB / 0.9076 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.2806, allocations: 11.44 kB / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2806, allocations: 0 / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.003488/0.2841, allocations: 1.616 MB / 0.9091 GB, free: 55.32 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)