Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.802/1.802, allocations: 288.4 MB / 303.4 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 188.4 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007856/0.0007857, allocations: 88.81 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004333, allocations: 18.06 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008304/0.2574, allocations: 419.1 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.2583, allocations: 0.8672 MB / 0.9809 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2583, allocations: 3.938 kB / 0.9809 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.2584, allocations: 3.938 kB / 0.9809 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.2585, allocations: 7.938 kB / 0.9809 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.2586, allocations: 11.98 kB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.2587, allocations: 31.92 kB / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2588, allocations: 11.98 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.2589, allocations: 19.92 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.2589, allocations: 19.91 kB / 0.981 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.259, allocations: 0 / 0.981 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.259, allocations: 4 kB / 0.981 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.259, allocations: 7.938 kB / 0.981 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.259, allocations: 29.7 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.658e-05/0.2591, allocations: 27.94 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2591, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2591, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2591, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000541/0.2597, allocations: 372.5 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2597, allocations: 8.031 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.2598, allocations: 7.906 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2599, allocations: 171 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2599, allocations: 0 / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.2599, allocations: 4 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.2602, allocations: 81.59 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2602, allocations: 0 / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2603, allocations: 0 / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2603, allocations: 3.984 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.2606, allocations: 83.94 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.2609, allocations: 276.9 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.2612, allocations: 74.47 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.2613, allocations: 48.92 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2614, allocations: 0 / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2614, allocations: 34.55 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.2614, allocations: 4 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005747/0.262, allocations: 157.5 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.262, allocations: 59.34 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.2621, allocations: 105.8 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.2621, allocations: 29.7 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.2622, allocations: 96.06 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.2622, allocations: 7.906 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.2622, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.2623, allocations: 314.8 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2624, allocations: 47.95 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2626, allocations: 43.91 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2627, allocations: 43.97 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2627, allocations: 0 / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002948/0.263, allocations: 125.8 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.263, allocations: 4 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2631, allocations: 0 / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2631, allocations: 4.031 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2632, allocations: 19.98 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2632, allocations: 0 / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.2633, allocations: 19.98 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2633, allocations: 0 / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.884e-05/0.2634, allocations: 127.2 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.2634, allocations: 0 / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.2635, allocations: 7.906 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2635, allocations: 4 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2635, allocations: 4 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2635, allocations: 0 / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2637, allocations: 173.5 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2637, allocations: 0 / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2638, allocations: 27.97 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2638, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2638, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2638, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2638, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.2641, allocations: 215.4 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.2642, allocations: 85.09 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2642, allocations: 3.938 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2643, allocations: 19.98 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.2644, allocations: 7.922 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2644, allocations: 4 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.2644, allocations: 87.28 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2644, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000185/0.2646, allocations: 8 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001116/0.2647, allocations: 95.25 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.265, allocations: 95.91 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2651, allocations: 0 / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2652, allocations: 51.91 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.2655, allocations: 10.77 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.2658, allocations: 132.6 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.266, allocations: 0.6887 MB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.266, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.266, allocations: 7.438 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.2661, allocations: 4 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.002482/0.2685, allocations: 0.5603 MB / 0.9855 GB, free: 21.23 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)