Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.001396, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001438/0.001438, allocations: 194.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.703/1.703, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001343/0.001343, allocations: 67.89 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2564, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003283/0.2598, allocations: 1.554 MB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2613, allocations: 0.7644 MB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.2614, allocations: 0 / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.2615, allocations: 7.875 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.2616, allocations: 15.92 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.2623, allocations: 106.4 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2625, allocations: 75.81 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2626, allocations: 8 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2627, allocations: 39.8 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.2628, allocations: 39.88 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2628, allocations: 4 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.263, allocations: 99.91 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.2631, allocations: 19.92 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.2631, allocations: 31.84 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.2634, allocations: 139.8 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2634, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2634, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2634, allocations: 0 / 0.7857 GB, free: 10.98 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.0006881/0.2641, allocations: 421 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2642, allocations: 12.03 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.2642, allocations: 12.84 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2643, allocations: 172.2 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.2644, allocations: 4.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.2644, allocations: 8.375 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.2646, allocations: 69.97 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2646, allocations: 7.922 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2646, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2646, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.2648, allocations: 35.98 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.2654, allocations: 320.8 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2655, allocations: 42.56 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.2656, allocations: 40.91 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2656, allocations: 0 / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.2659, allocations: 79.28 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2659, allocations: 4 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000384/0.2663, allocations: 125.6 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.2663, allocations: 63.39 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2664, allocations: 121.8 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2665, allocations: 33.64 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.2665, allocations: 88.12 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2666, allocations: 23.81 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.2666, allocations: 29.7 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2667, allocations: 322.8 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.2668, allocations: 23.97 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.2669, allocations: 50.56 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.2671, allocations: 82.36 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2671, allocations: 0 / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000232/0.2673, allocations: 117.8 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2673, allocations: 4 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2674, allocations: 4 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2674, allocations: 0 / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2675, allocations: 15.98 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2675, allocations: 80 / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.2676, allocations: 8 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.2676, allocations: 7.984 kB / 0.7879 GB, free: 8.434 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,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 9.685e-05/0.2677, allocations: 125.3 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.2677, allocations: 11.84 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.2678, allocations: 16.34 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2678, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2678, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2678, allocations: 4 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.2682, allocations: 378.4 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2682, allocations: 0 / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.2683, allocations: 8 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2683, allocations: 0 / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2683, allocations: 7.984 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2683, allocations: 3.938 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2683, allocations: 3.938 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.2686, allocations: 203.4 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.2686, allocations: 81.02 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.2687, allocations: 7.984 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.2687, allocations: 8 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2688, allocations: 11.92 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2688, allocations: 4 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.2689, allocations: 91.92 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2689, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002984/0.2692, allocations: 39.94 kB / 0.7889 GB, free: 7.352 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 (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.0003597/0.2695, allocations: 163.2 kB / 0.789 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2698, allocations: 79.88 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2698, allocations: 0 / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.2699, allocations: 35.92 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2702, allocations: 11.98 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.2706, allocations: 200.4 kB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.2709, allocations: 0.6885 MB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.859e-05/0.2709, allocations: 4 kB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.2709, allocations: 15.44 kB / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.271, allocations: 0 / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of Templates: time 0.00396/0.2749, allocations: 1.408 MB / 0.7914 GB, free: 4.715 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)