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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001239/0.001239, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.589/1.589, allocations: 205.1 MB / 222 MB, free: 4.809 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.798/1.798, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001308/0.001307, allocations: 70.61 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2626, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002076/0.2648, allocations: 0.7282 MB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.2656, allocations: 0.8009 MB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.2656, allocations: 0 / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.2657, allocations: 3.938 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.2657, allocations: 0 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.2659, allocations: 12 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.2659, allocations: 31.91 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.266, allocations: 4 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.526e-05/0.2661, allocations: 7.984 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.2661, allocations: 7.938 kB / 0.7842 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.2661, allocations: 4 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.2661, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2662, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.2662, allocations: 15.92 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.234e-05/0.2663, allocations: 23.89 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2663, allocations: 4 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.62e-07/0.2663, allocations: 0 / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.2663, allocations: 0 / 0.7843 GB, free: 12.3 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.0004295/0.2668, allocations: 339.7 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2668, allocations: 12.03 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.2668, allocations: 0.9375 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.267, allocations: 160.4 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.267, allocations: 4.375 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.267, allocations: 8.312 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2672, allocations: 50.23 kB / 0.7848 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2672, allocations: 4.172 kB / 0.7848 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2672, allocations: 3.938 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2672, allocations: 0 / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.2674, allocations: 39.89 kB / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.2677, allocations: 248.8 kB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2678, allocations: 46.47 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.2679, allocations: 20.91 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.268, allocations: 0 / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.268, allocations: 34.56 kB / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.268, allocations: 4 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003367/0.2683, allocations: 77.64 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.2684, allocations: 55.41 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.2685, allocations: 105.8 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2685, allocations: 25.7 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.2685, allocations: 80.14 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.2685, allocations: 8.031 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.2686, allocations: 17.72 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2687, allocations: 310.8 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.2688, allocations: 19.97 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.2688, allocations: 15.98 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.269, allocations: 40.89 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.269, allocations: 0 / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001722/0.2692, allocations: 69.53 kB / 0.786 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2692, allocations: 10.5 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2692, allocations: 0 / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2692, allocations: 3.938 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.2693, allocations: 11.98 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2693, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.2694, allocations: 12.02 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.2694, allocations: 4 kB / 0.7861 GB, free: 10.27 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 7.62e-05/0.2695, allocations: 113.8 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.2695, allocations: 0 / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.2695, allocations: 7.125 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2695, allocations: 0 / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2696, allocations: 0 / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2696, allocations: 0 / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.2697, allocations: 165.6 kB / 0.7863 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2697, allocations: 0 / 0.7863 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.2698, allocations: 8 kB / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.2698, allocations: 0 / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.2698, allocations: 0 / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2698, allocations: 3.984 kB / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2698, allocations: 0 / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.2701, allocations: 171.3 kB / 0.7865 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.2701, allocations: 81.09 kB / 0.7866 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2701, allocations: 3.938 kB / 0.7866 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.2702, allocations: 4 kB / 0.7866 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2702, allocations: 7.984 kB / 0.7866 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.2703, allocations: 0 / 0.7866 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.2703, allocations: 83.47 kB / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2703, allocations: 0 / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002032/0.2705, allocations: 7.969 kB / 0.7867 GB, free: 9.531 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.0001388/0.2707, allocations: 99.25 kB / 0.7868 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.2709, allocations: 35.95 kB / 0.7868 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2709, allocations: 4 kB / 0.7868 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.271, allocations: 19.92 kB / 0.7868 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.2712, allocations: 12.06 kB / 0.7868 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.2715, allocations: 107.2 kB / 0.787 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.2718, allocations: 0.677 MB / 0.7876 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.2718, allocations: 144 / 0.7876 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.2718, allocations: 7.438 kB / 0.7876 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2718, allocations: 0 / 0.7876 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.002088/0.2739, allocations: 369.7 kB / 0.788 GB, free: 8.152 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)