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.371/1.371, 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.0009249/0.0009252, allocations: 179.6 kB / 327.6 MB, free: 2.082 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.778/1.778, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008314/0.0008314, allocations: 91.66 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 16.12 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2689, 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.Tan): time 0.001971/0.271, allocations: 1.101 MB / 0.9025 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.2713, allocations: 125.8 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.2714, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.06e-05/0.2715, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/0.2716, allocations: 7.922 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.2717, allocations: 8 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.2718, allocations: 19.98 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2719, allocations: 8 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.304e-05/0.272, allocations: 3.938 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.272, allocations: 19.91 kB / 0.9027 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.272, allocations: 3.938 kB / 0.9027 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.2721, allocations: 4 kB / 0.9027 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.2721, allocations: 3.938 kB / 0.9027 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.2721, allocations: 29.69 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.999e-05/0.2722, allocations: 15.97 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2722, allocations: 4 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.128e-06/0.2723, allocations: 3.938 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2723, allocations: 0 / 0.9028 GB, free: 62.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004689/0.2728, allocations: 335.5 kB / 0.9031 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.579e-05/0.2728, allocations: 12.03 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.2729, allocations: 0.9375 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.273, allocations: 168.3 kB / 0.9033 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.273, allocations: 8.375 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.273, allocations: 384 / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2732, allocations: 58.22 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2732, allocations: 192 / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.2732, allocations: 3.938 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2733, allocations: 0 / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.2735, allocations: 51.89 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.2738, allocations: 245.2 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.274, allocations: 50.5 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.274, allocations: 24.89 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2741, allocations: 4 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2741, allocations: 34.56 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.2741, allocations: 0 / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003297/0.2744, allocations: 97.58 kB / 0.9038 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2745, allocations: 51.41 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/0.2746, allocations: 106 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.2746, allocations: 25.7 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.2746, allocations: 88.12 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.2746, allocations: 7.906 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.2746, allocations: 0 / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.2747, allocations: 314.8 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.2748, allocations: 19.98 kB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.2749, allocations: 23.98 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.275, allocations: 56.81 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.275, allocations: 0 / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001762/0.2752, allocations: 77.59 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2752, allocations: 4 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2752, allocations: 0 / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2753, allocations: 8.031 kB / 0.9046 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.2754, allocations: 8 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2754, allocations: 7.875 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.2754, allocations: 11.98 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2754, allocations: 0 / 0.9046 GB, free: 59.98 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 (2): * Single equations (assignments): 2 * 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 6.182e-05/0.2755, allocations: 113.8 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.2755, allocations: 3.906 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.2758, allocations: 92.7 kB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2758, allocations: 0 / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2758, allocations: 0 / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2758, allocations: 0 / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2759, allocations: 165.6 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2759, allocations: 4.031 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.276, allocations: 11.98 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.276, allocations: 0 / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.276, allocations: 0 / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.276, allocations: 0 / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.276, allocations: 0 / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.2762, allocations: 183.4 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.2763, allocations: 77.11 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2763, allocations: 0 / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.2764, allocations: 7.984 kB / 0.9052 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.2764, allocations: 8.031 kB / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.2764, allocations: 0 / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.2764, allocations: 87.44 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2764, allocations: 0 / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001878/0.2766, allocations: 4 kB / 0.9053 GB, free: 59.14 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 (2): * Single equations (assignments): 2 * 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.0001329/0.2768, allocations: 99.25 kB / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.277, allocations: 47.97 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.277, allocations: 0 / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.2771, allocations: 27.91 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2774, allocations: 14.17 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.2778, allocations: 146.4 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2779, allocations: 0.6731 MB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.2779, allocations: 7.438 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2779, allocations: 0 / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.00198/0.2799, allocations: 0.5279 MB / 0.9068 GB, free: 57.54 MB / 0.6042 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)