Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 108 kB / 15.61 MB, free: 152 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.001932/0.001932, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.679/1.679, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001398/0.001398, allocations: 69.06 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1894, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002945/0.1924, allocations: 1.635 MB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.1934, allocations: 0.5627 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1934, allocations: 8 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1936, allocations: 31.7 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.194, allocations: 103.5 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1943, allocations: 150.8 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.1945, allocations: 215.5 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1946, allocations: 25.55 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1947, allocations: 99.67 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1949, allocations: 115.6 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.195, allocations: 16 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1952, allocations: 115.9 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1952, allocations: 31.91 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.1953, allocations: 87.56 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1956, allocations: 263.5 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1956, allocations: 4 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1956, allocations: 0 / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1957, allocations: 0 / 0.7867 GB, free: 10.05 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006664/0.1963, allocations: 0.545 MB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1964, allocations: 12.03 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.1964, allocations: 16.75 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1967, allocations: 236 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1967, allocations: 11.92 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1968, allocations: 12 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1969, allocations: 77.67 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1969, allocations: 4 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.197, allocations: 7.984 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.197, allocations: 4 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.325e-05/0.1971, allocations: 39.98 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.1978, allocations: 444.3 kB / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1979, allocations: 70.55 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.198, allocations: 32.97 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.198, allocations: 4 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1982, allocations: 91.22 kB / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.614e-06/0.1982, allocations: 4 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0002672/0.1985, allocations: 125.5 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.1985, allocations: 59.33 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1987, allocations: 191.2 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1987, allocations: 29.7 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.1988, allocations: 123.8 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1988, allocations: 27.66 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.1989, allocations: 57.61 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.199, allocations: 330.8 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.1991, allocations: 19.98 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1993, allocations: 116.4 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1994, allocations: 92.22 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1994, allocations: 0 / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001963/0.1996, allocations: 137.4 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1997, allocations: 4 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1997, allocations: 3.938 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1997, allocations: 4.125 kB / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.1998, allocations: 19.92 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1998, allocations: 4 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.2, allocations: 12 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2, allocations: 7.984 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.998e-05/0.2001, allocations: 125.8 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.2001, allocations: 15.81 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.2002, allocations: 25.33 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2002, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2002, allocations: 4 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2002, allocations: 0 / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.2007, allocations: 446.5 kB / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2007, allocations: 4 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.2007, allocations: 11.94 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2007, allocations: 0 / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2007, allocations: 0 / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2007, allocations: 4 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2007, allocations: 0 / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.2009, allocations: 211.2 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.201, allocations: 92.91 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.201, allocations: 0 / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.2011, allocations: 7.984 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.2011, allocations: 15.98 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2012, allocations: 4 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000108/0.2013, allocations: 146.3 kB / 0.7906 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2013, allocations: 0 / 0.7906 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003215/0.2016, allocations: 67.98 kB / 0.7907 GB, free: 5.582 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003906/0.202, allocations: 237.4 kB / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.2022, allocations: 79.84 kB / 0.791 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2022, allocations: 4.25 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/0.2023, allocations: 39.92 kB / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2027, allocations: 60.88 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.2032, allocations: 266.9 kB / 0.7914 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2034, allocations: 0.7124 MB / 0.792 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.471e-05/0.2035, allocations: 29.52 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.2036, allocations: 23.44 kB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2036, allocations: 0 / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.007023/0.2106, allocations: 3.78 MB / 0.7958 GB, free: 388 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)