Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.00123/0.00123, allocations: 192.3 kB / 17.29 MB, free: 5.516 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.916/1.916, allocations: 292.3 MB / 0.5496 GB, free: 17.71 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.001514/0.001514, allocations: 71.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2722, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002354/0.2746, allocations: 0.7065 MB / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2758, allocations: 0.8048 MB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.2758, allocations: 4 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.2759, allocations: 3.938 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.276, allocations: 7.922 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.106e-05/0.276, allocations: 11.92 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2762, allocations: 51.89 kB / 0.7864 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2763, allocations: 8 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.2764, allocations: 27.86 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.2764, allocations: 19.92 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2765, allocations: 4 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.2765, allocations: 4 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.2765, allocations: 11.92 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2766, allocations: 15.92 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.2767, allocations: 47.8 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2767, allocations: 4 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2767, allocations: 0 / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2767, allocations: 0 / 0.7865 GB, free: 1.422 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000579/0.2773, allocations: 371.3 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2773, allocations: 15.97 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.2774, allocations: 0.9375 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.2775, allocations: 172.2 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2776, allocations: 4.375 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.2776, allocations: 4.375 kB / 0.787 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2778, allocations: 78.14 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2779, allocations: 192 / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2779, allocations: 3.938 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2779, allocations: 0 / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.2782, allocations: 63.92 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2786, allocations: 269 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.2788, allocations: 62.42 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.279, allocations: 40.91 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.279, allocations: 0 / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.279, allocations: 34.56 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.279, allocations: 3.984 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005248/0.2796, allocations: 129.5 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4605/0.7401, allocations: 55.39 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.7403, allocations: 111.3 kB / 0.7878 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.7403, allocations: 27.23 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.7403, allocations: 88.77 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.7404, allocations: 12.03 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.7404, allocations: 17.98 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.7405, allocations: 319.5 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.7407, allocations: 31.86 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.7408, allocations: 36.27 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.7411, allocations: 75.2 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7411, allocations: 0 / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003135/0.7414, allocations: 95.48 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7414, allocations: 5.688 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.7414, allocations: 0 / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7414, allocations: 0.5938 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.7416, allocations: 19.38 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7416, allocations: 1.625 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.7417, allocations: 13.09 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.7417, allocations: 3.344 kB / 0.7886 GB, free: 48.15 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 (3): * Single equations (assignments): 3 * 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 5.943e-05/0.7418, allocations: 120 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.7418, allocations: 0 / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.7418, allocations: 14.09 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7418, allocations: 0 / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7418, allocations: 0 / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7418, allocations: 1.875 kB / 0.7887 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.742, allocations: 169.2 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.742, allocations: 2.875 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.7421, allocations: 19.98 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7421, allocations: 3.25 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.7421, allocations: 6.625 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.7421, allocations: 0 / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7421, allocations: 0 / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.7424, allocations: 195.9 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.7425, allocations: 83.64 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.7425, allocations: 7.938 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7426, allocations: 12.03 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.7426, allocations: 5.953 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.7427, allocations: 0.5 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.7427, allocations: 93.55 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7427, allocations: 2.812 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002204/0.7429, allocations: 5.75 kB / 0.7893 GB, free: 47.53 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 (3): * Single equations (assignments): 3 * 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.000118/0.7431, allocations: 105.3 kB / 0.7894 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7434, allocations: 71.38 kB / 0.7894 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7434, allocations: 0 / 0.7894 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.7435, allocations: 42.19 kB / 0.7895 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.7439, allocations: 4.094 kB / 0.7895 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.7442, allocations: 120.3 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.7443, allocations: 0.6843 MB / 0.7903 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.7444, allocations: 2.656 kB / 0.7903 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.7444, allocations: 10.22 kB / 0.7903 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7444, allocations: 0 / 0.7903 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.002821/0.7472, allocations: 0.692 MB / 0.791 GB, free: 46.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)