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.001216/0.001215, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001127/0.001127, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.449/1.449, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.817/1.817, allocations: 292.3 MB / 0.5495 GB, free: 17.67 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.001697/0.001698, allocations: 79.02 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2779, allocations: 114.5 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002484/0.2804, allocations: 0.652 MB / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2815, allocations: 0.8049 MB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.2816, allocations: 0 / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.2817, allocations: 3.938 kB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.27e-05/0.2818, allocations: 11.86 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.2819, allocations: 11.98 kB / 0.7855 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.282, allocations: 24 kB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2821, allocations: 7.984 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.2822, allocations: 11.94 kB / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.2823, allocations: 11.92 kB / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2823, allocations: 4 kB / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2823, allocations: 0 / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.2823, allocations: 4 kB / 0.7856 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.2824, allocations: 7.938 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.2825, allocations: 27.88 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2825, allocations: 0 / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2825, allocations: 4 kB / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2825, allocations: 0 / 0.7856 GB, free: 2.242 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.0004978/0.283, allocations: 339.7 kB / 0.7859 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2831, allocations: 8.031 kB / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2831, allocations: 4.922 kB / 0.7859 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2832, allocations: 164.4 kB / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2833, allocations: 384 / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2833, allocations: 384 / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.2835, allocations: 54.23 kB / 0.7861 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2835, allocations: 4.125 kB / 0.7861 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2835, allocations: 3.938 kB / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2835, allocations: 0 / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.2837, allocations: 35.95 kB / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.2841, allocations: 244.9 kB / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2842, allocations: 42.5 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.2843, allocations: 28.89 kB / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2844, allocations: 0 / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2844, allocations: 34.5 kB / 0.7865 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2844, allocations: 0 / 0.7865 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003631/0.2848, allocations: 89.55 kB / 0.7866 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2848, allocations: 51.41 kB / 0.7866 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.2849, allocations: 97.86 kB / 0.7867 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2849, allocations: 25.7 kB / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.285, allocations: 84.14 kB / 0.7868 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.285, allocations: 7.891 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.2851, allocations: 17.84 kB / 0.7869 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2852, allocations: 314.8 kB / 0.7872 GB, free: 416 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.2853, allocations: 11.98 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.2853, allocations: 23.91 kB / 0.7872 GB, free: 380 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.2855, allocations: 36.83 kB / 0.7872 GB, free: 340 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2855, allocations: 4.062 kB / 0.7872 GB, free: 336 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.2857, allocations: 69.59 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2857, allocations: 4 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2857, allocations: 4 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2858, allocations: 3.938 kB / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2859, allocations: 11.98 kB / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2859, allocations: 0 / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.286, allocations: 8.031 kB / 0.7873 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.286, allocations: 0 / 0.7873 GB, free: 228 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 9.033e-05/0.2861, allocations: 117.7 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.2861, allocations: 4 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.2861, allocations: 7.109 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2861, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2862, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2862, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4973/0.7835, allocations: 158.5 kB / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7835, allocations: 0 / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.7836, allocations: 10.77 kB / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.7836, allocations: 2.219 kB / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.7837, allocations: 0 / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7837, allocations: 0.5 kB / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7837, allocations: 5.484 kB / 0.7876 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.784, allocations: 160.5 kB / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.784, allocations: 83 kB / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.784, allocations: 0 / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.7841, allocations: 9.234 kB / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.7842, allocations: 7.125 kB / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.7842, allocations: 0.8438 kB / 0.7879 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.7842, allocations: 82.92 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7842, allocations: 0.8438 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002992/0.7845, allocations: 6.156 kB / 0.788 GB, free: 48.14 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.0001433/0.7847, allocations: 103.2 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.7849, allocations: 45.31 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7849, allocations: 2.969 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.785, allocations: 15.61 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.7853, allocations: 6.656 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.7856, allocations: 121.3 kB / 0.7882 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.7857, allocations: 0.6751 MB / 0.7889 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.7857, allocations: 10.19 kB / 0.7889 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of SimCode: time 9.01e-07/0.7857, allocations: 0 / 0.7889 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.001716/0.7874, allocations: 0.556 MB / 0.7895 GB, free: 47.22 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)