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.001351/0.001352, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001244/0.001244, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.646/1.646, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.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.806/1.806, allocations: 292.3 MB / 0.5485 GB, free: 13.61 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.003105/0.003106, allocations: 66.47 kB / 0.671 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3534, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002764/0.3562, allocations: 0.7204 MB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3574, allocations: 0.8049 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.3575, allocations: 0 / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.3575, allocations: 0 / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.3576, allocations: 3.938 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.3578, allocations: 11.98 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.503e-05/0.3579, allocations: 35.86 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.358, allocations: 7.984 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.3581, allocations: 8 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.3581, allocations: 7.922 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3582, allocations: 4 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.3582, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.3582, allocations: 8 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.3582, allocations: 7.938 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.3583, allocations: 23.94 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3583, allocations: 4 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3583, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.3584, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 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.0004962/0.3589, allocations: 343.7 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3589, allocations: 8.031 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.359, allocations: 4.875 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3591, allocations: 164.4 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3591, allocations: 384 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3591, allocations: 4.312 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3593, allocations: 54.23 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3594, allocations: 4.125 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3594, allocations: 3.938 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3594, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.3595, allocations: 35.95 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.3599, allocations: 248.9 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.36, allocations: 38.5 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.3602, allocations: 28.89 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3602, allocations: 0 / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3602, allocations: 34.5 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3602, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004103/0.3606, allocations: 85.64 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3607, allocations: 51.41 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.3608, allocations: 93.86 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3608, allocations: 29.7 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.3609, allocations: 84.14 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3609, allocations: 7.891 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.361, allocations: 13.84 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3611, allocations: 318.8 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.3612, allocations: 11.98 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.3613, allocations: 19.92 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3614, allocations: 44.88 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3614, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.3616, allocations: 69.78 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3617, allocations: 4 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3617, allocations: 0 / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3617, allocations: 3.984 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.3618, allocations: 8 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3618, allocations: 3.984 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.3619, allocations: 8.031 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3619, allocations: 0 / 0.7862 GB, free: 10.18 MB / 0.6075 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 9.658e-05/0.362, allocations: 117.7 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.362, allocations: 7.938 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.3623, allocations: 68.77 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3623, allocations: 0 / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3623, allocations: 4.031 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3623, allocations: 4 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.3625, allocations: 161.6 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3625, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.3626, allocations: 7.984 kB / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3626, allocations: 0 / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3626, allocations: 7.938 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3626, allocations: 0 / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3626, allocations: 0 / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3629, allocations: 175.3 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.3629, allocations: 81.05 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.363, allocations: 0 / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.363, allocations: 7.984 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.3631, allocations: 4 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3631, allocations: 4 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.3631, allocations: 83.3 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3632, allocations: 0 / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002177/0.3634, allocations: 4 kB / 0.7869 GB, free: 9.355 MB / 0.6075 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.0001838/0.3636, allocations: 99.25 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3638, allocations: 39.89 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3638, allocations: 0 / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.3639, allocations: 24.05 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3643, allocations: 7.938 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.3646, allocations: 109.5 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3649, allocations: 0.6768 MB / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.365, allocations: 0 / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.365, allocations: 11.44 kB / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.365, allocations: 4.062 kB / 0.7879 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of Templates: time 0.00274/0.3677, allocations: 389.4 kB / 0.7883 GB, free: 7.957 MB / 0.6075 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)