Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005612/0.005611, allocations: 102 kB / 15.73 MB, free: 6.051 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.001299/0.001299, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.18/1.18, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.357/1.357, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001339/0.001339, allocations: 63.91 kB / 0.7257 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1826, allocations: 104.7 MB / 0.828 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002672/0.1853, allocations: 1.735 MB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1867, allocations: 0.9559 MB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.1867, allocations: 0 / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1869, allocations: 23.73 kB / 0.8307 GB, free: 13.51 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.0003143/0.1872, allocations: 123.4 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1875, allocations: 154.4 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1878, allocations: 239.4 kB / 0.8312 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1879, allocations: 37.61 kB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.188, allocations: 115.7 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1882, allocations: 131.5 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.1882, allocations: 20 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1884, allocations: 135.8 kB / 0.8316 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.1885, allocations: 35.91 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1886, allocations: 107.4 kB / 0.8317 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1889, allocations: 287.2 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1889, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1889, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.189, allocations: 0 / 0.832 GB, free: 12.16 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007984/0.1898, allocations: 0.5838 MB / 0.8326 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1898, allocations: 8.031 kB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.1899, allocations: 20.75 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1902, allocations: 243.5 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1902, allocations: 12 kB / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.1902, allocations: 8 kB / 0.8328 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1904, allocations: 119.2 kB / 0.833 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1904, allocations: 0 / 0.833 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1905, allocations: 12 kB / 0.833 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1905, allocations: 0 / 0.833 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1906, allocations: 54.62 kB / 0.833 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.1914, allocations: 0.5434 MB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1915, allocations: 97.06 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.1916, allocations: 37.78 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1916, allocations: 7.984 kB / 0.8337 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1918, allocations: 129.1 kB / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.1918, allocations: 0 / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003178/0.1921, allocations: 157.6 kB / 0.834 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1922, allocations: 81.11 kB / 0.834 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1924, allocations: 210.2 kB / 0.8342 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1924, allocations: 33.7 kB / 0.8343 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.1925, allocations: 120.5 kB / 0.8344 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1925, allocations: 39.66 kB / 0.8344 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.1926, allocations: 61.67 kB / 0.8345 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.1927, allocations: 326.8 kB / 0.8348 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.1928, allocations: 31.98 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.193, allocations: 139.4 kB / 0.835 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1931, allocations: 116.2 kB / 0.8351 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1931, allocations: 0 / 0.8351 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002214/0.1934, allocations: 161.3 kB / 0.8352 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1934, allocations: 11.98 kB / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1934, allocations: 0 / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1934, allocations: 4 kB / 0.8352 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.1935, allocations: 15.94 kB / 0.8352 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1935, allocations: 4 kB / 0.8352 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1937, allocations: 35.75 kB / 0.8353 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1937, allocations: 8.156 kB / 0.8353 GB, free: 8.445 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001092/0.1939, allocations: 139.6 kB / 0.8354 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1939, allocations: 23.8 kB / 0.8354 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.1939, allocations: 21.52 kB / 0.8355 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1939, allocations: 3.938 kB / 0.8355 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1939, allocations: 4 kB / 0.8355 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.194, allocations: 4 kB / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1945, allocations: 466.2 kB / 0.8359 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1945, allocations: 0 / 0.8359 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.1945, allocations: 4 kB / 0.8359 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1945, allocations: 4 kB / 0.8359 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1946, allocations: 7.984 kB / 0.8359 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1946, allocations: 7.875 kB / 0.8359 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1946, allocations: 0 / 0.8359 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1948, allocations: 231.5 kB / 0.8362 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1948, allocations: 100.8 kB / 0.8363 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1949, allocations: 0 / 0.8363 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.195, allocations: 19.92 kB / 0.8363 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.1951, allocations: 19.97 kB / 0.8363 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1951, allocations: 4 kB / 0.8363 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001164/0.1952, allocations: 148.2 kB / 0.8364 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1952, allocations: 0 / 0.8364 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003216/0.1955, allocations: 75.98 kB / 0.8365 GB, free: 7.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003755/0.1959, allocations: 234.8 kB / 0.8367 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1961, allocations: 91.91 kB / 0.8368 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1962, allocations: 4 kB / 0.8368 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.1962, allocations: 49.17 kB / 0.8369 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1966, allocations: 54.02 kB / 0.8369 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.1971, allocations: 319.3 kB / 0.8372 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1974, allocations: 0.728 MB / 0.8379 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.1975, allocations: 25.53 kB / 0.838 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.1975, allocations: 23.44 kB / 0.838 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.1975, allocations: 0 / 0.838 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of Templates: time 0.007112/0.2047, allocations: 4.177 MB / 0.8421 GB, free: 1.418 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)