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.001226/0.001226, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 197.3 kB / 16.64 MB, free: 6.434 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.819/1.819, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.00144/0.00144, allocations: 77.14 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3206, allocations: 114.6 MB / 0.7842 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.004372/0.325, allocations: 0.6553 MB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.327, allocations: 0.8009 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.327, allocations: 8 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.3272, allocations: 3.984 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.3273, allocations: 3.938 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3275, allocations: 4 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3276, allocations: 31.91 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3278, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.3279, allocations: 11.98 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.328, allocations: 15.92 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.328, allocations: 0 / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.328, allocations: 4 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.3281, allocations: 4 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3281, allocations: 11.94 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.725e-05/0.3282, allocations: 23.89 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3282, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3282, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3282, allocations: 0 / 0.7857 GB, free: 11.14 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.0006192/0.3289, allocations: 339.4 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3289, allocations: 12.03 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.329, allocations: 0.9375 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3292, allocations: 172.3 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3292, allocations: 384 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3292, allocations: 8.375 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3295, allocations: 50.22 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3295, allocations: 192 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3295, allocations: 7.938 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3295, allocations: 0 / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.3298, allocations: 35.97 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.3303, allocations: 252.8 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3305, allocations: 38.5 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3307, allocations: 16.91 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3307, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.3308, allocations: 38.56 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.3308, allocations: 0 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005838/0.3314, allocations: 81.58 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3315, allocations: 55.34 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3316, allocations: 105.8 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3316, allocations: 25.83 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.3317, allocations: 84.14 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3318, allocations: 3.906 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.3318, allocations: 17.72 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.332, allocations: 314.8 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3321, allocations: 19.92 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3323, allocations: 15.98 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.3325, allocations: 44.88 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3326, allocations: 0 / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003201/0.3329, allocations: 69.55 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3329, allocations: 8 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3329, allocations: 0 / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.333, allocations: 0 / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.3331, allocations: 12.02 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3331, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/0.3332, allocations: 11.98 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3333, allocations: 4 kB / 0.7875 GB, free: 9.105 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 0.0001169/0.3334, allocations: 110.4 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.3335, allocations: 0 / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3335, allocations: 3.125 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3335, allocations: 4 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3335, allocations: 4 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3336, allocations: 0 / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.3339, allocations: 161.6 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3339, allocations: 0 / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.334, allocations: 15.98 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.334, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.334, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.334, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.334, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.3345, allocations: 171.3 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.3345, allocations: 77.11 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3346, allocations: 0 / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3347, allocations: 11.98 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.3348, allocations: 4 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3348, allocations: 0 / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.3349, allocations: 87.48 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3349, allocations: 0 / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000418/0.3353, allocations: 7.938 kB / 0.7881 GB, free: 8.363 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.0001863/0.3355, allocations: 99.23 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.3359, allocations: 43.84 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3359, allocations: 7.938 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3361, allocations: 16.05 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.3366, allocations: 14.58 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.337, allocations: 109.5 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3374, allocations: 0.6729 MB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.3375, allocations: 0 / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.3375, allocations: 7.438 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.3375, allocations: 4 kB / 0.789 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of Templates: time 0.003603/0.3412, allocations: 449.5 kB / 0.7895 GB, free: 6.902 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)