Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00949/0.00949, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.00145/0.00145, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.204/1.204, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.352/1.352, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001333/0.001333, allocations: 67.91 kB / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1867, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002613/0.1894, allocations: 1.738 MB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1908, allocations: 0.956 MB / 0.8307 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.1909, allocations: 0 / 0.8307 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1911, allocations: 35.7 kB / 0.8307 GB, free: 13.49 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.0003569/0.1915, allocations: 119.4 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1918, allocations: 147.7 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1921, allocations: 239.4 kB / 0.8312 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1922, allocations: 37.61 kB / 0.8312 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1924, allocations: 115.6 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1926, allocations: 127.5 kB / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.1926, allocations: 16 kB / 0.8315 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.1928, allocations: 139.8 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.1929, allocations: 35.84 kB / 0.8316 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.193, allocations: 95.48 kB / 0.8317 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1933, allocations: 287.2 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1933, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1934, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.1934, allocations: 4 kB / 0.832 GB, free: 12.15 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.0007854/0.1942, allocations: 0.5721 MB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1942, allocations: 12.02 kB / 0.8326 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1943, allocations: 20.75 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1945, allocations: 243.5 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1946, allocations: 15.98 kB / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.1946, allocations: 12 kB / 0.8328 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1948, allocations: 89.66 kB / 0.8329 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1948, allocations: 0 / 0.8329 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1948, allocations: 4 kB / 0.8329 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1948, allocations: 4 kB / 0.8329 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1949, allocations: 51.91 kB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.1957, allocations: 472.3 kB / 0.8334 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.1961, allocations: 134.7 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.1961, allocations: 44.78 kB / 0.8336 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1962, allocations: 4 kB / 0.8336 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.1964, allocations: 115.2 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1964, allocations: 0 / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003272/0.1967, allocations: 165.3 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1968, allocations: 55.41 kB / 0.8339 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.197, allocations: 206.2 kB / 0.8341 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.197, allocations: 37.7 kB / 0.8342 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.1971, allocations: 120.4 kB / 0.8343 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1972, allocations: 39.53 kB / 0.8343 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.1973, allocations: 57.69 kB / 0.8344 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1974, allocations: 330.8 kB / 0.8347 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.1974, allocations: 27.98 kB / 0.8347 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1977, allocations: 141.4 kB / 0.8348 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1978, allocations: 94.73 kB / 0.8349 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1978, allocations: 0 / 0.8349 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002237/0.198, allocations: 157.3 kB / 0.8351 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1981, allocations: 4 kB / 0.8351 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1981, allocations: 0 / 0.8351 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1981, allocations: 4 kB / 0.8351 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.1982, allocations: 15.94 kB / 0.8351 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1982, allocations: 0 / 0.8351 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1984, allocations: 27.88 kB / 0.8351 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1984, allocations: 8 kB / 0.8351 GB, free: 8.641 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.0001186/0.1985, allocations: 145.3 kB / 0.8353 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1985, allocations: 15.81 kB / 0.8353 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.1986, allocations: 21.86 kB / 0.8353 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1986, allocations: 0 / 0.8353 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1986, allocations: 0 / 0.8353 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1986, allocations: 4 kB / 0.8353 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.1992, allocations: 0.4903 MB / 0.8358 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1992, allocations: 3.938 kB / 0.8358 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.1993, allocations: 4 kB / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1993, allocations: 0 / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1993, allocations: 11.94 kB / 0.8358 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1993, allocations: 3.938 kB / 0.8358 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1993, allocations: 0 / 0.8358 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1995, allocations: 230.1 kB / 0.836 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1996, allocations: 96.86 kB / 0.8361 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1996, allocations: 3.984 kB / 0.8361 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1997, allocations: 19.92 kB / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.1998, allocations: 19.97 kB / 0.8362 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.1998, allocations: 8 kB / 0.8362 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001159/0.1999, allocations: 144.2 kB / 0.8363 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1999, allocations: 0 / 0.8363 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003203/0.2003, allocations: 75.89 kB / 0.8364 GB, free: 7.262 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.0004054/0.2007, allocations: 235.3 kB / 0.8366 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2009, allocations: 99.36 kB / 0.8367 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2009, allocations: 4 kB / 0.8367 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.201, allocations: 55.86 kB / 0.8368 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.2014, allocations: 65.81 kB / 0.8368 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.2018, allocations: 287.4 kB / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.2021, allocations: 0.7164 MB / 0.8378 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.759e-05/0.2022, allocations: 25.53 kB / 0.8378 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.2023, allocations: 31.42 kB / 0.8379 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.2023, allocations: 0 / 0.8379 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of Templates: time 0.007265/0.2095, allocations: 4.228 MB / 0.842 GB, free: 1.578 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)