Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 115.5 kB / 16.37 MB, free: 6 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.001257/0.001257, allocations: 189.2 kB / 17.3 MB, free: 5.617 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.782/1.782, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001442/0.001443, allocations: 80.11 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002248/0.2497, allocations: 0.6627 MB / 0.7855 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2509, allocations: 0.8165 MB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.2509, allocations: 0 / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.251, allocations: 3.938 kB / 0.7863 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.2511, allocations: 0 / 0.7863 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.2513, allocations: 11.98 kB / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.2514, allocations: 19.94 kB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2515, allocations: 11.98 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.2516, allocations: 8 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.2516, allocations: 15.91 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.2517, allocations: 4 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.2517, allocations: 0 / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2517, allocations: 4 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.2517, allocations: 7.938 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.719e-05/0.2518, allocations: 27.83 kB / 0.7864 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2518, allocations: 0 / 0.7864 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2518, allocations: 3.938 kB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.2519, allocations: 4 kB / 0.7864 GB, free: 1.562 MB / 0.6544 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.0004564/0.2523, allocations: 343.4 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2524, allocations: 8.031 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.2524, allocations: 0.9375 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2525, allocations: 164.4 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2526, allocations: 384 / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.2526, allocations: 384 / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2528, allocations: 58.22 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2528, allocations: 192 / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2528, allocations: 3.938 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2528, allocations: 0 / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.253, allocations: 35.95 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.2534, allocations: 244.9 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2535, allocations: 42.5 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.2536, allocations: 28.89 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2536, allocations: 0 / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2537, allocations: 30.56 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2537, allocations: 0 / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.2541, allocations: 93.48 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2541, allocations: 51.41 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.2542, allocations: 93.86 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2542, allocations: 29.7 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.2543, allocations: 88.12 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.2543, allocations: 11.83 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.2543, allocations: 9.719 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4146/0.669, allocations: 316.8 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.6692, allocations: 14.25 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.6693, allocations: 15.56 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.6695, allocations: 42.86 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6695, allocations: 0 / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002208/0.6697, allocations: 69.7 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6697, allocations: 8.766 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6697, allocations: 0 / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.6698, allocations: 2.75 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.6699, allocations: 5.25 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6699, allocations: 6.938 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.67, allocations: 6.375 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.67, allocations: 0 / 0.7881 GB, free: 48.57 MB / 0.6544 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 5.825e-05/0.67, allocations: 115.1 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.6701, allocations: 0.6562 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.6703, allocations: 74.3 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6703, allocations: 0 / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6703, allocations: 6.25 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6703, allocations: 1.938 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.6705, allocations: 161.5 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6705, allocations: 0 / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.6706, allocations: 9.281 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6706, allocations: 0.5938 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.6706, allocations: 0 / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6706, allocations: 1.281 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6706, allocations: 7.125 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.6708, allocations: 164.1 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.6708, allocations: 81.84 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.6709, allocations: 7.875 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.6709, allocations: 3.156 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.671, allocations: 10.17 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.671, allocations: 0 / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.519e-05/0.671, allocations: 79.12 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.61e-07/0.671, allocations: 0.5312 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002252/0.6713, allocations: 10 kB / 0.7888 GB, free: 47.93 MB / 0.6544 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.000126/0.6714, allocations: 102.1 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.6716, allocations: 35.92 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6716, allocations: 2.906 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.6717, allocations: 20.42 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.672, allocations: 7.344 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.6723, allocations: 127 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.6724, allocations: 0.6773 MB / 0.7898 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.6725, allocations: 10.62 kB / 0.7898 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6725, allocations: 0 / 0.7898 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.001867/0.6744, allocations: 0.5376 MB / 0.7903 GB, free: 47.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)