Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004984/0.004983, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.0009948/0.0009948, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.238/1.238, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.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.001275/0.001275, allocations: 79.84 kB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1808, allocations: 104.7 MB / 0.828 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002597/0.1834, allocations: 1.734 MB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1848, allocations: 0.9598 MB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.1849, allocations: 0 / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.185, allocations: 27.67 kB / 0.8307 GB, free: 13.52 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.0003387/0.1854, allocations: 119.4 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1857, allocations: 156.7 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.186, allocations: 243.4 kB / 0.8312 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1861, allocations: 33.61 kB / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1862, allocations: 111.7 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1864, allocations: 127.5 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.1864, allocations: 20 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1866, allocations: 135.8 kB / 0.8316 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.1867, allocations: 39.89 kB / 0.8316 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1868, allocations: 99.44 kB / 0.8317 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.1871, allocations: 283.3 kB / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1871, allocations: 0 / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1871, allocations: 0 / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1872, allocations: 0 / 0.832 GB, free: 12.18 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.0007548/0.1879, allocations: 0.5799 MB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.188, allocations: 12.02 kB / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.188, allocations: 20.75 kB / 0.8326 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1883, allocations: 235.5 kB / 0.8328 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1883, allocations: 19.92 kB / 0.8328 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.1884, allocations: 12 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1886, allocations: 100.5 kB / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1886, allocations: 0 / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1886, allocations: 0 / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1886, allocations: 4 kB / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1887, allocations: 55.97 kB / 0.833 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.1895, allocations: 460.3 kB / 0.8334 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1899, allocations: 138.7 kB / 0.8336 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.19, allocations: 36.78 kB / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.19, allocations: 4 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1902, allocations: 123.1 kB / 0.8337 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1902, allocations: 0 / 0.8337 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0002913/0.1905, allocations: 157.4 kB / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1905, allocations: 59.41 kB / 0.8339 GB, free: 10 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1907, allocations: 206.2 kB / 0.8341 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1908, allocations: 33.7 kB / 0.8341 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.1909, allocations: 124.4 kB / 0.8343 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.1909, allocations: 35.56 kB / 0.8343 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.191, allocations: 53.67 kB / 0.8343 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1911, allocations: 338.8 kB / 0.8347 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.1912, allocations: 31.98 kB / 0.8347 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.1914, allocations: 133.7 kB / 0.8348 GB, free: 9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1915, allocations: 92.23 kB / 0.8349 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1916, allocations: 4 kB / 0.8349 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002236/0.1918, allocations: 149.3 kB / 0.8351 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1918, allocations: 14.64 kB / 0.8351 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1918, allocations: 0 / 0.8351 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1918, allocations: 8.125 kB / 0.8351 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.1919, allocations: 19.94 kB / 0.8351 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1919, allocations: 0 / 0.8351 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1921, allocations: 23.88 kB / 0.8351 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1921, allocations: 8 kB / 0.8351 GB, free: 8.668 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 0.0001257/0.1923, allocations: 145.2 kB / 0.8353 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.1923, allocations: 15.81 kB / 0.8353 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.1923, allocations: 21.86 kB / 0.8353 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1924, allocations: 4 kB / 0.8353 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1924, allocations: 0 / 0.8353 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1924, allocations: 0 / 0.8353 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.193, allocations: 0.4933 MB / 0.8358 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.193, allocations: 0 / 0.8358 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.193, allocations: 4 kB / 0.8358 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.193, allocations: 48 / 0.8358 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.1931, allocations: 19.92 kB / 0.8358 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1931, allocations: 3.938 kB / 0.8358 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1931, allocations: 0 / 0.8358 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1933, allocations: 227.3 kB / 0.836 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.1933, allocations: 92.86 kB / 0.8361 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1934, allocations: 7.984 kB / 0.8361 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1935, allocations: 15.92 kB / 0.8361 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.1936, allocations: 19.98 kB / 0.8362 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.1936, allocations: 15.98 kB / 0.8362 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001093/0.1937, allocations: 140.2 kB / 0.8363 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1937, allocations: 0 / 0.8363 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000323/0.194, allocations: 75.89 kB / 0.8364 GB, free: 7.285 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.0004541/0.1945, allocations: 229.5 kB / 0.8366 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1947, allocations: 111.9 kB / 0.8367 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1948, allocations: 0 / 0.8367 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.43e-05/0.1949, allocations: 47.98 kB / 0.8368 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1953, allocations: 55.39 kB / 0.8368 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.1958, allocations: 311.2 kB / 0.8371 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1961, allocations: 0.7321 MB / 0.8378 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.1961, allocations: 21.53 kB / 0.8378 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.1962, allocations: 27.44 kB / 0.8379 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.1962, allocations: 3.938 kB / 0.8379 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of Templates: time 0.007307/0.2035, allocations: 4.235 MB / 0.842 GB, free: 1.551 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)