Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 252 MB / 268 MB, free: 10.85 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.0009913/0.0009915, allocations: 179.1 kB / 327.6 MB, free: 2.074 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.709/1.709, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.001079/0.001079, allocations: 90.11 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 12.03 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 106.3 MB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001825/0.252, allocations: 1.14 MB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004347/0.2525, allocations: 181.6 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.2526, allocations: 0 / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.2526, allocations: 3.984 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.2527, allocations: 7.938 kB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.2529, allocations: 19.97 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.253, allocations: 47.8 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.2531, allocations: 8 kB / 0.9028 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.2532, allocations: 11.92 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.2532, allocations: 15.92 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2533, allocations: 4 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.2533, allocations: 0 / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.2533, allocations: 15.98 kB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.2534, allocations: 41.58 kB / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.909e-05/0.2534, allocations: 27.91 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2535, allocations: 0 / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2535, allocations: 0 / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2535, allocations: 0 / 0.903 GB, free: 61.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005024/0.254, allocations: 379.6 kB / 0.9033 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.254, allocations: 8.031 kB / 0.9033 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.2541, allocations: 4.938 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.505e-05/0.2542, allocations: 164.3 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2542, allocations: 8.375 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2542, allocations: 4.359 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.2545, allocations: 90.14 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2545, allocations: 192 / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2545, allocations: 3.938 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2545, allocations: 0 / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.2548, allocations: 91.86 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.2552, allocations: 261 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2554, allocations: 70.42 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2556, allocations: 52.91 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.2556, allocations: 4 kB / 0.9041 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2556, allocations: 34.56 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2556, allocations: 0 / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005701/0.2562, allocations: 165.5 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2563, allocations: 55.41 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.2563, allocations: 105.8 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2564, allocations: 29.64 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.2564, allocations: 92.08 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.2564, allocations: 3.906 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2564, allocations: 0 / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.2565, allocations: 318.8 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.2566, allocations: 43.97 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2568, allocations: 43.97 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.2571, allocations: 92.78 kB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2571, allocations: 3.938 kB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003442/0.2574, allocations: 117.5 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.2575, allocations: 18.42 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2575, allocations: 0 / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2575, allocations: 0 / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2577, allocations: 23.92 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2577, allocations: 4 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2578, allocations: 15.98 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2578, allocations: 0 / 0.9052 GB, free: 59.43 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/0.2579, allocations: 117.8 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.2579, allocations: 0 / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.258, allocations: 7.891 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.258, allocations: 8 kB / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.258, allocations: 0 / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.258, allocations: 0 / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2581, allocations: 173.9 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2582, allocations: 0 / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2583, allocations: 23.97 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2583, allocations: 0 / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2583, allocations: 0 / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2583, allocations: 4 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2583, allocations: 4 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.2587, allocations: 227.2 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.2587, allocations: 81.11 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.2587, allocations: 7.922 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2588, allocations: 15.98 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.2589, allocations: 4 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.2589, allocations: 8 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.259, allocations: 83.58 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.259, allocations: 0 / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000215/0.2592, allocations: 12 kB / 0.9059 GB, free: 58.56 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: 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 (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.0001723/0.2594, allocations: 95.25 kB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.2597, allocations: 91.92 kB / 0.9061 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2597, allocations: 0 / 0.9061 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.2599, allocations: 55.89 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.2602, allocations: 10.34 kB / 0.9062 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.2606, allocations: 170.1 kB / 0.9063 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.2608, allocations: 0.6809 MB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.2608, allocations: 11.42 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2608, allocations: 0 / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.002086/0.2629, allocations: 0.7376 MB / 0.9077 GB, free: 56.67 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)