Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008487, allocations: 91.52 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008261/0.0008266, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 17.56 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2574, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002129/0.2596, allocations: 1.199 MB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2611, allocations: 0.7231 MB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.2612, allocations: 0 / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.2612, allocations: 3.938 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.2613, allocations: 7.922 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.2619, allocations: 95.77 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2621, allocations: 67.78 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2622, allocations: 15.97 kB / 0.7893 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2624, allocations: 27.92 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.2624, allocations: 27.89 kB / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2625, allocations: 4 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.2627, allocations: 87.84 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.2628, allocations: 11.98 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.2628, allocations: 37.64 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.263, allocations: 100 kB / 0.7896 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2631, allocations: 0 / 0.7896 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2631, allocations: 0 / 0.7896 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2631, allocations: 0 / 0.7896 GB, free: 9.492 MB / 0.6075 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.0007292/0.2638, allocations: 416.7 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2639, allocations: 12.03 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.2639, allocations: 7.906 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2641, allocations: 175 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.2641, allocations: 4 kB / 0.7902 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.2642, allocations: 7.938 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2643, allocations: 73.64 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2644, allocations: 0 / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2644, allocations: 0 / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2644, allocations: 4 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.2645, allocations: 43.97 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.2651, allocations: 316.7 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2653, allocations: 58.5 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.2654, allocations: 36.95 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.2654, allocations: 4.062 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.2656, allocations: 83.38 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.2656, allocations: 0 / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003872/0.266, allocations: 145.6 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2661, allocations: 59.36 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.2662, allocations: 125.7 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.2662, allocations: 29.7 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.2663, allocations: 88.33 kB / 0.7912 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.2663, allocations: 23.73 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.2663, allocations: 0 / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2664, allocations: 322.8 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.2665, allocations: 27.98 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.2666, allocations: 58.48 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.242e-05/0.2667, allocations: 28 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2667, allocations: 0 / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002204/0.2669, allocations: 121.5 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2669, allocations: 4 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.267, allocations: 4 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.267, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2671, allocations: 15.92 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2671, allocations: 7.953 kB / 0.7918 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.2672, allocations: 7.984 kB / 0.7918 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.2672, allocations: 8 kB / 0.7918 GB, free: 6.984 MB / 0.6075 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.191e-05/0.2673, allocations: 117.9 kB / 0.792 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.2673, allocations: 7.906 kB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.2673, allocations: 8.375 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2674, allocations: 0 / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2674, allocations: 3.984 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2674, allocations: 11.89 kB / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.2678, allocations: 386.4 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2678, allocations: 0 / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.2679, allocations: 8 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2679, allocations: 0 / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2679, allocations: 4 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2679, allocations: 3.953 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2679, allocations: 3.984 kB / 0.7924 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.2682, allocations: 219.4 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.2683, allocations: 81.02 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2683, allocations: 0 / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.2684, allocations: 11.98 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2684, allocations: 7.953 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2684, allocations: 7.984 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.2685, allocations: 99.86 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2685, allocations: 0 / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002985/0.2688, allocations: 36 kB / 0.7928 GB, free: 5.887 MB / 0.6075 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.0003766/0.2692, allocations: 154.6 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.2694, allocations: 95.8 kB / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2695, allocations: 0 / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2696, allocations: 35.98 kB / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2698, allocations: 4 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.2703, allocations: 205.2 kB / 0.7933 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2705, allocations: 0.6848 MB / 0.794 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.2705, allocations: 8.172 kB / 0.794 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.2706, allocations: 11.44 kB / 0.794 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2706, allocations: 4 kB / 0.794 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of Templates: time 0.003934/0.2745, allocations: 1.331 MB / 0.7953 GB, free: 3.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) Environment - environmentSimulation: