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.005477/0.005477, allocations: 99.19 kB / 15.73 MB, free: 6.027 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.001105/0.001105, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.24/1.24, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.361/1.361, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.001248/0.001248, allocations: 74.08 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1866, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002637/0.1892, allocations: 1.724 MB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1906, allocations: 0.9598 MB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1906, allocations: 4 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1908, allocations: 27.73 kB / 0.8307 GB, free: 13.46 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.0003136/0.1911, allocations: 119.4 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1914, allocations: 155 kB / 0.8309 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1917, allocations: 239.5 kB / 0.8312 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1918, allocations: 37.61 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1919, allocations: 115.6 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1921, allocations: 127.5 kB / 0.8314 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.947e-05/0.1922, allocations: 20 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.1924, allocations: 127.8 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1925, allocations: 43.88 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1926, allocations: 91.52 kB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1929, allocations: 291 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1929, allocations: 0 / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1929, allocations: 0 / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1929, allocations: 4 kB / 0.832 GB, free: 12.12 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.0007938/0.1937, allocations: 0.5796 MB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.1938, allocations: 11.97 kB / 0.8326 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.1938, allocations: 20.84 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1941, allocations: 243.6 kB / 0.8328 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1941, allocations: 12 kB / 0.8328 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1941, allocations: 16 kB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1943, allocations: 93.59 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1943, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1943, allocations: 4 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1943, allocations: 7.938 kB / 0.8329 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1945, allocations: 51.97 kB / 0.833 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.1951, allocations: 472.4 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.1955, allocations: 138.7 kB / 0.8336 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1956, allocations: 36.84 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1956, allocations: 0 / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1958, allocations: 119.3 kB / 0.8337 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1958, allocations: 4 kB / 0.8337 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003512/0.1962, allocations: 157.5 kB / 0.8339 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1962, allocations: 59.41 kB / 0.8339 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1964, allocations: 206.3 kB / 0.8341 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1964, allocations: 33.7 kB / 0.8342 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.1965, allocations: 120.5 kB / 0.8343 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.1965, allocations: 43.69 kB / 0.8343 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.1966, allocations: 53.67 kB / 0.8344 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.1967, allocations: 326.8 kB / 0.8347 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.1968, allocations: 35.98 kB / 0.8347 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.197, allocations: 131.5 kB / 0.8348 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1971, allocations: 100.1 kB / 0.8349 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1972, allocations: 4 kB / 0.8349 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002132/0.1974, allocations: 152.1 kB / 0.8351 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1974, allocations: 8 kB / 0.8351 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1974, allocations: 0 / 0.8351 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1974, allocations: 4 kB / 0.8351 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.1975, allocations: 19.98 kB / 0.8351 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1975, allocations: 0 / 0.8351 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1977, allocations: 27.81 kB / 0.8351 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1977, allocations: 12.12 kB / 0.8352 GB, free: 8.586 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.0001089/0.1978, allocations: 139.5 kB / 0.8353 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.1979, allocations: 15.91 kB / 0.8353 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.1979, allocations: 21.88 kB / 0.8353 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1979, allocations: 0 / 0.8353 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1979, allocations: 0 / 0.8353 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1979, allocations: 3.984 kB / 0.8353 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.1985, allocations: 0.4893 MB / 0.8358 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1985, allocations: 0 / 0.8358 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.1986, allocations: 7.938 kB / 0.8358 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1986, allocations: 3.984 kB / 0.8358 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1986, allocations: 11.94 kB / 0.8358 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1986, allocations: 3.938 kB / 0.8358 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1986, allocations: 0 / 0.8358 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1988, allocations: 235.3 kB / 0.8361 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.1989, allocations: 89.02 kB / 0.8361 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1989, allocations: 8 kB / 0.8361 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.199, allocations: 15.92 kB / 0.8362 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1991, allocations: 19.97 kB / 0.8362 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1991, allocations: 12 kB / 0.8362 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001071/0.1992, allocations: 140.2 kB / 0.8363 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.293e-06/0.1992, allocations: 0 / 0.8363 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003127/0.1996, allocations: 83.69 kB / 0.8364 GB, free: 7.203 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.0003999/0.2, allocations: 239.5 kB / 0.8366 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2002, allocations: 107.8 kB / 0.8367 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2002, allocations: 0 / 0.8367 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.2003, allocations: 51.92 kB / 0.8368 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.2007, allocations: 57.09 kB / 0.8368 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.2012, allocations: 314.8 kB / 0.8371 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.2015, allocations: 0.7242 MB / 0.8378 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.2016, allocations: 29.55 kB / 0.8379 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.2016, allocations: 27.42 kB / 0.8379 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2016, allocations: 0 / 0.8379 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.007126/0.2088, allocations: 4.232 MB / 0.842 GB, free: 1.461 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)