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.001129/0.001129, allocations: 109.4 kB / 15.69 MB, free: 128 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.001155/0.001155, allocations: 184.9 kB / 16.62 MB, free: 6.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.28/1.28, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.702/1.702, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001463/0.001463, allocations: 71.73 kB / 0.6722 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002767/0.2165, allocations: 1.628 MB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.2175, allocations: 0.5743 MB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.2176, allocations: 0 / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2178, allocations: 27.73 kB / 0.7863 GB, free: 10.5 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.0003297/0.2181, allocations: 115.4 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.2184, allocations: 146.6 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.2187, allocations: 211.5 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2188, allocations: 25.55 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2189, allocations: 107.6 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.2191, allocations: 107.6 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.2191, allocations: 16 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.2193, allocations: 139.8 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.2194, allocations: 31.91 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.2195, allocations: 91.48 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.2198, allocations: 263.3 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2198, allocations: 4 kB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2198, allocations: 7.938 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2198, allocations: 0 / 0.7875 GB, free: 9.262 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.0007228/0.2206, allocations: 0.5372 MB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2206, allocations: 16.02 kB / 0.788 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.2207, allocations: 16.75 kB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.2209, allocations: 232.1 kB / 0.7883 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.221, allocations: 11.94 kB / 0.7883 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.221, allocations: 12 kB / 0.7883 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.2212, allocations: 92.83 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2212, allocations: 0 / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2212, allocations: 0 / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2212, allocations: 4 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.268e-05/0.2213, allocations: 43.97 kB / 0.7884 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.222, allocations: 444.3 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2222, allocations: 70.55 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.2222, allocations: 28.8 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.2222, allocations: 4 kB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.2224, allocations: 87.28 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.2224, allocations: 0 / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0002733/0.2227, allocations: 137.9 kB / 0.7892 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2227, allocations: 55.41 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.2229, allocations: 187 kB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.2229, allocations: 33.7 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.223, allocations: 123.9 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.2231, allocations: 23.66 kB / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.2231, allocations: 53.67 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.2233, allocations: 330.8 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.2233, allocations: 27.98 kB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.2235, allocations: 122.3 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.2237, allocations: 88.22 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2237, allocations: 4 kB / 0.7902 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002044/0.2239, allocations: 128.8 kB / 0.7903 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2239, allocations: 4 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2239, allocations: 3.938 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2239, allocations: 8.125 kB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.224, allocations: 15.94 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.224, allocations: 4 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.2242, allocations: 11.98 kB / 0.7903 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.2242, allocations: 4 kB / 0.7903 GB, free: 6.07 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 0.0001232/0.2244, allocations: 137.8 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.2244, allocations: 15.81 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.2244, allocations: 21.34 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2244, allocations: 4 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2244, allocations: 4 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2245, allocations: 3.984 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.225, allocations: 446.2 kB / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.225, allocations: 0 / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.225, allocations: 3.984 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.225, allocations: 4 kB / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.225, allocations: 0 / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.225, allocations: 0 / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.225, allocations: 4 kB / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.2252, allocations: 211.2 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.2253, allocations: 88.92 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.2253, allocations: 3.984 kB / 0.7912 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.2254, allocations: 8 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.2255, allocations: 19.92 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.2255, allocations: 7.984 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001158/0.2256, allocations: 138.3 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2256, allocations: 0 / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003351/0.226, allocations: 67.98 kB / 0.7915 GB, free: 4.801 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.0004357/0.2264, allocations: 233.6 kB / 0.7917 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.2266, allocations: 79.78 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2266, allocations: 4 kB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.2267, allocations: 40.23 kB / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.2271, allocations: 48.14 kB / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.2277, allocations: 277.7 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.228, allocations: 0.7124 MB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.795e-05/0.228, allocations: 29.47 kB / 0.7929 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.2281, allocations: 23.42 kB / 0.7929 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2281, allocations: 0 / 0.7929 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of Templates: time 0.007106/0.2352, allocations: 3.776 MB / 0.7966 GB, free: 15.61 MB / 0.6231 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)