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.005325/0.005325, allocations: 101.6 kB / 15.73 MB, free: 6.48 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.001278/0.001278, allocations: 194.6 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.243/1.243, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.366/1.366, allocations: 251.7 MB / 0.5094 GB, free: 3.152 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.001254/0.001254, allocations: 79.89 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1779, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002497/0.1804, allocations: 1.727 MB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1817, allocations: 0.9521 MB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.1818, allocations: 7.938 kB / 0.8306 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1819, allocations: 23.72 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.0003121/0.1823, allocations: 119.4 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1826, allocations: 151.2 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1828, allocations: 247.4 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1829, allocations: 37.59 kB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1831, allocations: 111.6 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.1832, allocations: 131.5 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.1833, allocations: 20 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1835, allocations: 131.8 kB / 0.8316 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.1835, allocations: 39.89 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1836, allocations: 99.44 kB / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1839, allocations: 287.2 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.184, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.184, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.184, 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007387/0.1847, allocations: 0.576 MB / 0.8325 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.1847, allocations: 8.031 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.1848, allocations: 20.75 kB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1851, allocations: 247.5 kB / 0.8328 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1851, allocations: 12 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1851, allocations: 12 kB / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1853, allocations: 96.56 kB / 0.8329 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1853, allocations: 0 / 0.8329 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1853, allocations: 0 / 0.8329 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1853, allocations: 8 kB / 0.8329 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.637e-05/0.1854, allocations: 55.97 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.1861, allocations: 460.3 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.1865, allocations: 146.7 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.1866, allocations: 36.84 kB / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1866, allocations: 0 / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1867, allocations: 115.1 kB / 0.8337 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1868, allocations: 4 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0002927/0.187, allocations: 165.3 kB / 0.8339 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1871, allocations: 55.41 kB / 0.8339 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1873, allocations: 202.2 kB / 0.8341 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1873, allocations: 33.7 kB / 0.8341 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.1874, allocations: 124.3 kB / 0.8343 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1874, allocations: 43.53 kB / 0.8343 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.1875, allocations: 57.67 kB / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.1876, allocations: 326.8 kB / 0.8347 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.1877, allocations: 35.98 kB / 0.8347 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.1879, allocations: 123.6 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.188, allocations: 103 kB / 0.8349 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.188, allocations: 0 / 0.8349 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002111/0.1882, allocations: 157.3 kB / 0.8351 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1882, allocations: 8 kB / 0.8351 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1882, allocations: 128 / 0.8351 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1883, allocations: 8 kB / 0.8351 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.1883, allocations: 19.92 kB / 0.8351 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1883, allocations: 0 / 0.8351 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.1885, allocations: 23.89 kB / 0.8351 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1885, allocations: 4 kB / 0.8351 GB, free: 8.652 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.0001073/0.1887, allocations: 143.5 kB / 0.8353 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1887, allocations: 19.8 kB / 0.8353 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.1887, allocations: 21.88 kB / 0.8353 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1887, allocations: 0 / 0.8353 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1888, allocations: 0 / 0.8353 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1888, allocations: 3.984 kB / 0.8353 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.1893, allocations: 0.4896 MB / 0.8358 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1893, allocations: 0 / 0.8358 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.1894, allocations: 4 kB / 0.8358 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1894, allocations: 0 / 0.8358 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1894, allocations: 15.92 kB / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1894, allocations: 3.938 kB / 0.8358 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1894, allocations: 0 / 0.8358 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.1896, allocations: 227.3 kB / 0.836 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1897, allocations: 96.86 kB / 0.8361 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1897, allocations: 4 kB / 0.8361 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1898, allocations: 19.92 kB / 0.8361 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1899, allocations: 23.97 kB / 0.8362 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1899, allocations: 8 kB / 0.8362 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001019/0.19, allocations: 140.2 kB / 0.8363 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.19, allocations: 0 / 0.8363 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003015/0.1903, allocations: 79.89 kB / 0.8364 GB, free: 7.27 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.0003528/0.1907, allocations: 224.7 kB / 0.8366 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1909, allocations: 107.8 kB / 0.8367 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1909, allocations: 0 / 0.8367 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.191, allocations: 59.7 kB / 0.8368 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1913, allocations: 58.95 kB / 0.8368 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.1918, allocations: 315.2 kB / 0.8371 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1921, allocations: 0.7283 MB / 0.8378 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.285e-05/0.1921, allocations: 25.55 kB / 0.8378 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.1922, allocations: 27.42 kB / 0.8379 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.1922, allocations: 0 / 0.8379 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of Templates: time 0.006738/0.199, allocations: 4.228 MB / 0.842 GB, free: 1.539 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)