Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 192.6 kB / 16.13 MB, free: 6.652 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.49/1.49, allocations: 205.1 MB / 222 MB, free: 4.746 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.674/1.674, allocations: 292.2 MB / 0.5484 GB, free: 13.61 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.001259/0.001259, allocations: 69.27 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002621/0.2675, allocations: 1.644 MB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2687, allocations: 0.819 MB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.2688, allocations: 0 / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.2689, allocations: 7.922 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.2689, allocations: 15.86 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.2693, allocations: 123.7 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2695, allocations: 127.6 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.797e-05/0.2695, allocations: 23.97 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.2696, allocations: 59.77 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.972e-05/0.2697, allocations: 67.72 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.2698, allocations: 12 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.2699, allocations: 91.91 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.27, allocations: 23.91 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.27, allocations: 47.77 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.2702, allocations: 191.7 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2703, allocations: 0 / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2703, allocations: 4 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.2703, allocations: 0 / 0.7858 GB, free: 10.71 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006124/0.2709, allocations: 482.5 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2709, allocations: 11.97 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.271, allocations: 8.844 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.155e-05/0.2711, allocations: 188.6 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.2711, allocations: 12.36 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.2711, allocations: 8.125 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.2714, allocations: 93.56 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.2714, allocations: 0 / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.2714, allocations: 8 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-06/0.2714, allocations: 7.938 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.2716, allocations: 59.95 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.2723, allocations: 372.6 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.2725, allocations: 74.48 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2726, allocations: 52.83 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2727, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.2729, allocations: 99.5 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.2729, allocations: 4 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005529/0.2735, allocations: 213.4 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.2735, allocations: 59.39 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2737, allocations: 144.6 kB / 0.7877 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2737, allocations: 29.81 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.2737, allocations: 104.2 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2738, allocations: 23.75 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.2738, allocations: 33.69 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.2739, allocations: 318.8 kB / 0.7881 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.274, allocations: 47.91 kB / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2742, allocations: 71.89 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.2744, allocations: 116.2 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2744, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003078/0.2747, allocations: 165.3 kB / 0.7885 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2748, allocations: 4 kB / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2748, allocations: 4 kB / 0.7885 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.2748, allocations: 0 / 0.7885 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2749, allocations: 15.98 kB / 0.7885 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2749, allocations: 7.938 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.275, allocations: 7.984 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.2751, allocations: 8 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.916e-05/0.2752, allocations: 133.5 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.2752, allocations: 7.906 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.2752, allocations: 16.7 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2752, allocations: 0 / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2752, allocations: 7.875 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2753, allocations: 0 / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.2758, allocations: 462.3 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2758, allocations: 0 / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.2759, allocations: 4 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.2759, allocations: 15.95 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2759, allocations: 8.062 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2759, allocations: 0 / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2759, allocations: 0 / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.2763, allocations: 271.3 kB / 0.7895 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.2764, allocations: 88.95 kB / 0.7895 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2764, allocations: 0 / 0.7895 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2765, allocations: 7.984 kB / 0.7895 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.2766, allocations: 8 kB / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2766, allocations: 7.984 kB / 0.7896 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.2767, allocations: 106.6 kB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2767, allocations: 7.875 kB / 0.7897 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003025/0.277, allocations: 43.98 kB / 0.7897 GB, free: 6.379 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000304/0.2773, allocations: 163.7 kB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.2776, allocations: 107.9 kB / 0.79 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2776, allocations: 4.188 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.2778, allocations: 63.89 kB / 0.79 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.2781, allocations: 18.73 kB / 0.7901 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.2785, allocations: 246.3 kB / 0.7903 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2788, allocations: 0.6965 MB / 0.791 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.135e-05/0.2788, allocations: 8 kB / 0.791 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.2789, allocations: 19.42 kB / 0.791 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2789, allocations: 0 / 0.791 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.004192/0.2831, allocations: 1.839 MB / 0.7928 GB, free: 3.191 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)