Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001287/0.001287, allocations: 184 kB / 17.22 MB, free: 5.934 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.701/1.701, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 2.071/2.071, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001411/0.001411, allocations: 71.91 kB / 0.6722 GB, free: 6.465 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2632, allocations: 114.5 MB / 0.7841 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002016/0.2652, allocations: 0.6663 MB / 0.7847 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.2662, allocations: 0.7971 MB / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.2662, allocations: 0 / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.2662, allocations: 0 / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.2663, allocations: 3.938 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.2664, allocations: 11.98 kB / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.2665, allocations: 35.86 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2666, allocations: 11.98 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.2667, allocations: 4 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.2668, allocations: 15.92 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2668, allocations: 0 / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.2668, allocations: 4 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.2668, allocations: 0 / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.2668, allocations: 7.938 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.627e-05/0.2669, allocations: 19.95 kB / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.267, allocations: 3.984 kB / 0.7856 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.943e-06/0.267, allocations: 8 kB / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.267, allocations: 0 / 0.7856 GB, free: 2.191 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.0007097/0.2677, allocations: 335.7 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2677, allocations: 11.97 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.2678, allocations: 4.938 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2679, allocations: 164.3 kB / 0.7861 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2679, allocations: 4.375 kB / 0.7861 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.268, allocations: 384 / 0.7861 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.2682, allocations: 58.22 kB / 0.7862 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2682, allocations: 192 / 0.7862 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2682, allocations: 3.938 kB / 0.7862 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2682, allocations: 4 kB / 0.7862 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.2684, allocations: 35.89 kB / 0.7862 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.2687, allocations: 241 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.2689, allocations: 46.44 kB / 0.7865 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.269, allocations: 24.89 kB / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.269, allocations: 0 / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.269, allocations: 30.56 kB / 0.7866 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.269, allocations: 0 / 0.7866 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.2694, allocations: 93.48 kB / 0.7867 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.2694, allocations: 51.41 kB / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.2695, allocations: 97.86 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2695, allocations: 29.7 kB / 0.7868 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.2696, allocations: 80.14 kB / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2696, allocations: 11.89 kB / 0.7869 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.2697, allocations: 13.84 kB / 0.7869 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2698, allocations: 314.8 kB / 0.7872 GB, free: 360 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.2699, allocations: 15.98 kB / 0.7872 GB, free: 344 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.2699, allocations: 15.98 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.2701, allocations: 36.81 kB / 0.7873 GB, free: 288 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2701, allocations: 4.062 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.2703, allocations: 77.53 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2703, allocations: 4 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2703, allocations: 4 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2703, allocations: 0 / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.2704, allocations: 8 kB / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2704, allocations: 3.984 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.2705, allocations: 4 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.2705, allocations: 4.031 kB / 0.7874 GB, free: 172 kB / 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 8.137e-05/0.2706, allocations: 117.7 kB / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.2706, allocations: 0 / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.2706, allocations: 11.11 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2706, allocations: 0 / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2707, allocations: 0 / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2707, allocations: 4 kB / 0.7875 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5162/0.7869, allocations: 151.9 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7869, allocations: 0 / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.7871, allocations: 8.672 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.7871, allocations: 1.531 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.7871, allocations: 1.922 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.7871, allocations: 0 / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7871, allocations: 0 / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.7874, allocations: 173.8 kB / 0.7878 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.7875, allocations: 78.17 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.7875, allocations: 0.6562 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.7876, allocations: 9.156 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.7877, allocations: 8.438 kB / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.7877, allocations: 0 / 0.7879 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.7877, allocations: 80.98 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7877, allocations: 2.875 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002694/0.788, allocations: 5.969 kB / 0.788 GB, free: 48.32 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.0001843/0.7882, allocations: 99.89 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.7885, allocations: 39.23 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7885, allocations: 0 / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.7886, allocations: 23.83 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.789, allocations: 5.969 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.7893, allocations: 99.06 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.7894, allocations: 0.6799 MB / 0.7889 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.7894, allocations: 3.125 kB / 0.7889 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.7895, allocations: 13.53 kB / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7895, allocations: 0 / 0.789 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.002768/0.7923, allocations: 440.2 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)