Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 104.3 kB / 16.29 MB, free: 6.43 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.001123/0.001123, allocations: 184.5 kB / 17.22 MB, free: 5.934 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.169/1.169, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.626/1.626, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001296/0.001296, allocations: 59.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1827, allocations: 114.5 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002728/0.1854, allocations: 1.741 MB / 0.7858 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1868, allocations: 0.9405 MB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.1869, allocations: 4 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.187, allocations: 31.72 kB / 0.7867 GB, free: 1.168 MB / 0.6544 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.0003054/0.1874, allocations: 115.4 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1877, allocations: 154.8 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1879, allocations: 251.3 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.188, allocations: 29.67 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1881, allocations: 107.7 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1883, allocations: 127.5 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.1884, allocations: 20 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.1886, allocations: 139.8 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.1887, allocations: 35.84 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.1888, allocations: 99.48 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.2955/0.4842, allocations: 280.2 kB / 0.788 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4843, allocations: 2.625 kB / 0.788 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4843, allocations: 0 / 0.788 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.4843, allocations: 0 / 0.788 GB, free: 46.29 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007936/0.4851, allocations: 0.5796 MB / 0.7886 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4851, allocations: 9.781 kB / 0.7886 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.4852, allocations: 18.88 kB / 0.7886 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4855, allocations: 245 kB / 0.7888 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4855, allocations: 13.98 kB / 0.7888 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.4855, allocations: 17.25 kB / 0.7889 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4857, allocations: 88.67 kB / 0.789 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4857, allocations: 0 / 0.789 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4858, allocations: 7.203 kB / 0.789 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4858, allocations: 0 / 0.789 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4859, allocations: 57.91 kB / 0.789 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.4865, allocations: 461 kB / 0.7895 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.4869, allocations: 138.2 kB / 0.7896 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.487, allocations: 35.08 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.487, allocations: 6.109 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.4872, allocations: 106.4 kB / 0.7897 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.4873, allocations: 0 / 0.7897 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0002896/0.4875, allocations: 172.8 kB / 0.7899 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.4876, allocations: 61.53 kB / 0.7899 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4877, allocations: 195.2 kB / 0.7901 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.4878, allocations: 34.89 kB / 0.7902 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.4878, allocations: 127.5 kB / 0.7903 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.4879, allocations: 36.61 kB / 0.7903 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.4879, allocations: 57.64 kB / 0.7904 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.488, allocations: 330.5 kB / 0.7907 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.4881, allocations: 31.41 kB / 0.7907 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.4882, allocations: 128.1 kB / 0.7908 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.4884, allocations: 103.5 kB / 0.7909 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4884, allocations: 0 / 0.7909 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002067/0.4886, allocations: 158.2 kB / 0.7911 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4886, allocations: 7.281 kB / 0.7911 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4886, allocations: 4.031 kB / 0.7911 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4886, allocations: 3.125 kB / 0.7911 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.4887, allocations: 18.72 kB / 0.7911 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4887, allocations: 3.125 kB / 0.7911 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.4889, allocations: 29.72 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4889, allocations: 6.438 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,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,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.472e-05/0.489, allocations: 140.7 kB / 0.7913 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.4891, allocations: 16.22 kB / 0.7913 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.4891, allocations: 22.72 kB / 0.7913 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4891, allocations: 0 / 0.7913 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4891, allocations: 5.688 kB / 0.7913 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4891, allocations: 4.156 kB / 0.7913 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.4896, allocations: 492.1 kB / 0.7918 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4896, allocations: 0 / 0.7918 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.4897, allocations: 9.75 kB / 0.7918 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4897, allocations: 8.281 kB / 0.7918 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.4897, allocations: 2.25 kB / 0.7918 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4897, allocations: 3.188 kB / 0.7918 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4897, allocations: 0.625 kB / 0.7918 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4899, allocations: 233.3 kB / 0.7921 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.4899, allocations: 94.59 kB / 0.7922 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.4899, allocations: 2.625 kB / 0.7922 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.49, allocations: 16.39 kB / 0.7922 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.4901, allocations: 23.42 kB / 0.7922 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.4901, allocations: 5.781 kB / 0.7922 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.145e-05/0.4902, allocations: 149.6 kB / 0.7923 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4902, allocations: 0 / 0.7923 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000331/0.4906, allocations: 77.88 kB / 0.7924 GB, free: 43.6 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003866/0.491, allocations: 238.4 kB / 0.7926 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.4912, allocations: 95.44 kB / 0.7927 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4912, allocations: 0 / 0.7927 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.4913, allocations: 61.05 kB / 0.7928 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4916, allocations: 62.86 kB / 0.7929 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.4921, allocations: 282.2 kB / 0.7931 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.4922, allocations: 0.7247 MB / 0.7938 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.649e-05/0.4923, allocations: 24.64 kB / 0.7939 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.4924, allocations: 25.67 kB / 0.7939 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.4924, allocations: 0 / 0.7939 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of Templates: time 0.007103/0.4995, allocations: 4.214 MB / 0.798 GB, free: 42.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)