Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, 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.001525/0.001525, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.585/1.585, allocations: 205.1 MB / 222 MB, free: 4.727 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.747/1.747, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001409/0.001409, allocations: 65.94 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2761, allocations: 114.5 MB / 0.7827 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002197/0.2784, allocations: 0.7632 MB / 0.7834 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.2794, allocations: 0.8711 MB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.2794, allocations: 0 / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.2795, allocations: 0 / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.2796, allocations: 7.922 kB / 0.7843 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.2798, allocations: 19.98 kB / 0.7843 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.2798, allocations: 39.86 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.28, allocations: 15.98 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.135e-05/0.28, allocations: 15.92 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.2801, allocations: 15.92 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.2801, allocations: 4 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.2801, allocations: 4 kB / 0.7844 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2802, allocations: 11.92 kB / 0.7844 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.2802, allocations: 15.92 kB / 0.7844 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.153e-05/0.2803, allocations: 39.81 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2803, allocations: 0 / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2803, allocations: 0 / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2803, allocations: 4 kB / 0.7845 GB, free: 12.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006031/0.2809, allocations: 363.7 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.281, allocations: 8.031 kB / 0.7848 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.281, allocations: 8.844 kB / 0.7848 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.2812, allocations: 168.2 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2812, allocations: 384 / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2812, allocations: 8.312 kB / 0.785 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.2815, allocations: 74.2 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2815, allocations: 192 / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2815, allocations: 7.875 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2816, allocations: 4 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.2818, allocations: 59.92 kB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.2822, allocations: 265 kB / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.2824, allocations: 66.39 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.2826, allocations: 36.92 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.2826, allocations: 3.984 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2827, allocations: 38.56 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2827, allocations: 0 / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005265/0.2832, allocations: 121.6 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2832, allocations: 55.34 kB / 0.7857 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.2833, allocations: 113.8 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2834, allocations: 25.7 kB / 0.7858 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.2834, allocations: 96.03 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.2834, allocations: 3.906 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.2835, allocations: 17.72 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2836, allocations: 310.8 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2837, allocations: 39.95 kB / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2839, allocations: 27.97 kB / 0.7863 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.2841, allocations: 68.78 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2841, allocations: 3.938 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002967/0.2844, allocations: 101.6 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2845, allocations: 4 kB / 0.7865 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2845, allocations: 3.984 kB / 0.7865 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2845, allocations: 0 / 0.7865 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2846, allocations: 15.98 kB / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2846, allocations: 0 / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.2847, allocations: 23.89 kB / 0.7865 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2847, allocations: 4 kB / 0.7865 GB, free: 9.742 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 (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 8.187e-05/0.2848, allocations: 113.8 kB / 0.7866 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2849, allocations: 3.938 kB / 0.7866 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.2849, allocations: 11.89 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2849, allocations: 4 kB / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2849, allocations: 0 / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2849, allocations: 0 / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2851, allocations: 173.5 kB / 0.7868 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2851, allocations: 3.938 kB / 0.7868 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-05/0.2852, allocations: 19.97 kB / 0.7868 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2852, allocations: 0 / 0.7868 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2852, allocations: 4 kB / 0.7868 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2852, allocations: 0 / 0.7868 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2852, allocations: 0 / 0.7868 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.2856, allocations: 204.3 kB / 0.787 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.2856, allocations: 77.48 kB / 0.7871 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2857, allocations: 7.984 kB / 0.7871 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2858, allocations: 7.984 kB / 0.7871 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.2858, allocations: 4 kB / 0.7871 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.2858, allocations: 3.984 kB / 0.7871 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.2859, allocations: 91.58 kB / 0.7872 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2859, allocations: 0 / 0.7872 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000209/0.2861, allocations: 8 kB / 0.7872 GB, free: 8.922 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 (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.0001375/0.2863, allocations: 99.25 kB / 0.7873 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.2866, allocations: 71.86 kB / 0.7874 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2866, allocations: 0 / 0.7874 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2867, allocations: 43.95 kB / 0.7874 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2871, allocations: 11.88 kB / 0.7875 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.2874, allocations: 135.2 kB / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2877, allocations: 0.6808 MB / 0.7882 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.2877, allocations: 8 kB / 0.7883 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.2877, allocations: 7.438 kB / 0.7883 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2877, allocations: 0 / 0.7883 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of Templates: time 0.002769/0.2905, allocations: 0.5849 MB / 0.7888 GB, free: 7.23 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)