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.001425/0.001424, allocations: 111.8 kB / 16.37 MB, free: 6.004 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.001433/0.001433, allocations: 193.8 kB / 17.31 MB, free: 5.613 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.667/1.667, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001522/0.001522, allocations: 72.12 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2669, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002205/0.2691, allocations: 0.6712 MB / 0.7855 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.2701, allocations: 0.8048 MB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.2702, allocations: 0 / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.2703, allocations: 0 / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.2703, allocations: 7.938 kB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.2705, allocations: 4 kB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.2705, allocations: 19.92 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2707, allocations: 19.97 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.2707, allocations: 4 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.2708, allocations: 15.92 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2708, allocations: 0 / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.2708, allocations: 4 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.2708, allocations: 4 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2709, allocations: 3.938 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.829e-05/0.2709, allocations: 27.91 kB / 0.7864 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.271, allocations: 0 / 0.7864 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.125e-06/0.271, allocations: 7.922 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.271, allocations: 4 kB / 0.7864 GB, free: 1.551 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.000466/0.2714, allocations: 335.4 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2715, allocations: 12.02 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.2715, allocations: 4.938 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2717, allocations: 168.4 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2717, allocations: 384 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.2717, allocations: 4.375 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2719, allocations: 50.23 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2719, allocations: 192 / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2719, allocations: 7.938 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2719, allocations: 0 / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.2721, allocations: 31.95 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.2725, allocations: 244.9 kB / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2726, allocations: 42.5 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.2727, allocations: 24.89 kB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.2727, allocations: 4 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2728, allocations: 30.56 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.2728, allocations: 0 / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003854/0.2732, allocations: 93.42 kB / 0.7874 GB, free: 356 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2732, allocations: 51.41 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2733, allocations: 101.9 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2734, allocations: 25.7 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2734, allocations: 84.14 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.2735, allocations: 7.891 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.2735, allocations: 13.72 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3799/0.6535, allocations: 315.8 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.6537, allocations: 16.41 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.6537, allocations: 15.97 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.6539, allocations: 40.81 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6539, allocations: 0 / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002307/0.6542, allocations: 72.25 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6542, allocations: 7.094 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6542, allocations: 0 / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.6542, allocations: 0 / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.6543, allocations: 10.36 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.6544, allocations: 1.938 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.6544, allocations: 8.25 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.6544, allocations: 0 / 0.7881 GB, free: 48.52 MB / 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 7.38e-05/0.6545, allocations: 118.5 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.6545, allocations: 0 / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.6546, allocations: 7.25 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6546, allocations: 0 / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6546, allocations: 3.938 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6546, allocations: 0 / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.6547, allocations: 160.4 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6547, allocations: 0.6875 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.6548, allocations: 8.344 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6548, allocations: 0 / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.6548, allocations: 6.594 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.6548, allocations: 1.625 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6548, allocations: 3.938 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.655, allocations: 165.1 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.6551, allocations: 78.28 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6551, allocations: 2.25 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.6552, allocations: 5.453 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.6552, allocations: 12.08 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.6552, allocations: 0 / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.447e-05/0.6553, allocations: 80.41 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6553, allocations: 2.625 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002267/0.6555, allocations: 8.891 kB / 0.7887 GB, free: 47.91 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.0001283/0.6556, allocations: 97.31 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.6559, allocations: 42.22 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6559, allocations: 0 / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.6559, allocations: 22.7 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.6562, allocations: 5.188 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.6565, allocations: 123.6 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.6566, allocations: 0.6793 MB / 0.7897 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.6567, allocations: 7.438 kB / 0.7897 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.6567, allocations: 0 / 0.7897 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.001736/0.6584, allocations: 0.557 MB / 0.7902 GB, free: 47 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)