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.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009639/0.0009639, allocations: 187.2 kB / 327.6 MB, free: 2.191 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.484/1.484, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0008063/0.0008063, allocations: 97.58 kB / 0.6831 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 16 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 106.3 MB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.3656, allocations: 131.4 MB / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.3658, allocations: 71.95 kB / 1.03 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001662/0.3675, allocations: 0.6814 MB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3676, allocations: 3.938 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3676, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003804/0.368, allocations: 335.5 kB / 1.031 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.368, allocations: 8.031 kB / 1.031 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.3681, allocations: 4.938 kB / 1.031 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3682, allocations: 172.3 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3682, allocations: 4.375 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3682, allocations: 4.359 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3684, allocations: 54.25 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3684, allocations: 192 / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3684, allocations: 7.875 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3685, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.3686, allocations: 47.95 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.369, allocations: 244.8 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3691, allocations: 54.47 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.3692, allocations: 24.91 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3693, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3693, allocations: 34.56 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3693, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003389/0.3696, allocations: 101.6 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.3697, allocations: 51.41 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.3698, allocations: 110 kB / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3698, allocations: 25.7 kB / 1.032 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.3698, allocations: 80.14 kB / 1.032 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3699, allocations: 11.91 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3699, allocations: 0 / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.37, allocations: 310.8 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.3701, allocations: 23.97 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.3702, allocations: 23.98 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3703, allocations: 44.89 kB / 1.032 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3703, allocations: 4 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002145/0.3706, allocations: 81.53 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3706, allocations: 8 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3706, allocations: 0 / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.3706, allocations: 0 / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3708, allocations: 19.95 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3708, allocations: 0 / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.3708, allocations: 12 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3709, allocations: 0 / 1.032 GB, free: 9.301 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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 0.000138/0.371, allocations: 113.8 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.371, allocations: 4 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.3713, allocations: 80.78 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3713, allocations: 7.938 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3713, allocations: 0 / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3713, allocations: 0 / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3716, allocations: 165.5 kB / 1.033 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3716, allocations: 4.031 kB / 1.033 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.3716, allocations: 8 kB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3717, allocations: 0 / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3717, allocations: 0 / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.3717, allocations: 4 kB / 1.033 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3717, allocations: 4 kB / 1.033 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.372, allocations: 179.4 kB / 1.033 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.3721, allocations: 81.09 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3721, allocations: 0 / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3722, allocations: 8 kB / 1.033 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.3722, allocations: 3.984 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3723, allocations: 4.031 kB / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.3723, allocations: 79.28 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3723, allocations: 3.938 kB / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002303/0.3726, allocations: 4 kB / 1.033 GB, free: 8.461 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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.0002718/0.3728, allocations: 103.2 kB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3731, allocations: 47.95 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3731, allocations: 0 / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.3732, allocations: 19.98 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3735, allocations: 15.86 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.374, allocations: 116.8 kB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3743, allocations: 0.677 MB / 1.034 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.3744, allocations: 3.938 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.3744, allocations: 7.438 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/0.3744, allocations: 0 / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.002883/0.3773, allocations: 360.2 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)