Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 103.3 kB / 16.29 MB, free: 6.43 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.00114/0.00114, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.223/1.223, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.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.001223/0.001224, allocations: 63.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1877, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002926/0.1906, allocations: 1.73 MB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.192, allocations: 0.9444 MB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.1921, allocations: 7.938 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.1923, allocations: 31.72 kB / 0.7867 GB, free: 1.117 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.0003113/0.1926, allocations: 115.4 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1929, allocations: 150.8 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1931, allocations: 247.3 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1933, allocations: 41.66 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1934, allocations: 111.6 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1936, allocations: 123.6 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.1936, allocations: 16 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1938, allocations: 139.8 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.1939, allocations: 39.83 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.194, allocations: 95.5 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3169/0.5109, allocations: 294.7 kB / 0.788 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.511, allocations: 0 / 0.788 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.482e-06/0.511, allocations: 0 / 0.788 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.511, allocations: 0 / 0.788 GB, free: 46.25 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.0006902/0.5117, allocations: 0.5682 MB / 0.7886 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5118, allocations: 11.59 kB / 0.7886 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.5118, allocations: 25.91 kB / 0.7886 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.5121, allocations: 244.5 kB / 0.7889 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.5121, allocations: 12.19 kB / 0.7889 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.5121, allocations: 17.84 kB / 0.7889 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.5123, allocations: 109 kB / 0.789 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5123, allocations: 0.5 kB / 0.789 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.5123, allocations: 9.953 kB / 0.789 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5123, allocations: 1.172 kB / 0.789 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5124, allocations: 51.72 kB / 0.789 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.5131, allocations: 0.5482 MB / 0.7896 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.5132, allocations: 98.66 kB / 0.7897 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.5133, allocations: 41.02 kB / 0.7897 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5133, allocations: 0.75 kB / 0.7897 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.5135, allocations: 126.1 kB / 0.7898 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.5135, allocations: 1.406 kB / 0.7898 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0002845/0.5138, allocations: 163.7 kB / 0.79 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.5139, allocations: 87.91 kB / 0.7901 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.514, allocations: 202.4 kB / 0.7903 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.5141, allocations: 35.48 kB / 0.7903 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.5141, allocations: 122.8 kB / 0.7904 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.5141, allocations: 36.12 kB / 0.7905 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.5142, allocations: 59.89 kB / 0.7905 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.5143, allocations: 328.4 kB / 0.7908 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.5143, allocations: 28.98 kB / 0.7909 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.5145, allocations: 137.2 kB / 0.791 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5146, allocations: 115.4 kB / 0.7911 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5146, allocations: 3.938 kB / 0.7911 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001992/0.5149, allocations: 157.9 kB / 0.7913 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5149, allocations: 7 kB / 0.7913 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5149, allocations: 1.969 kB / 0.7913 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5149, allocations: 3.344 kB / 0.7913 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.515, allocations: 20.25 kB / 0.7913 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.515, allocations: 2.062 kB / 0.7913 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.5152, allocations: 33.61 kB / 0.7913 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.5152, allocations: 8.875 kB / 0.7913 GB, free: 44.11 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 9.129e-05/0.5153, allocations: 139.8 kB / 0.7915 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.5153, allocations: 22.59 kB / 0.7915 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.5154, allocations: 19.47 kB / 0.7915 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5154, allocations: 2.625 kB / 0.7915 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5154, allocations: 4.516 kB / 0.7915 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5154, allocations: 2.625 kB / 0.7915 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.5158, allocations: 471.7 kB / 0.792 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5158, allocations: 2.812 kB / 0.792 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.5159, allocations: 2.625 kB / 0.792 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5159, allocations: 4 kB / 0.792 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.5159, allocations: 0 / 0.792 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5159, allocations: 2.625 kB / 0.792 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5159, allocations: 3.562 kB / 0.792 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.5161, allocations: 233 kB / 0.7922 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.5161, allocations: 98.64 kB / 0.7923 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.5161, allocations: 1.031 kB / 0.7923 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.5162, allocations: 20.48 kB / 0.7923 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.5163, allocations: 22.22 kB / 0.7923 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.5163, allocations: 9.875 kB / 0.7923 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.872e-05/0.5164, allocations: 145.3 kB / 0.7925 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5164, allocations: 0 / 0.7925 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003103/0.5167, allocations: 70.3 kB / 0.7925 GB, free: 43.34 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.0004265/0.5172, allocations: 237.7 kB / 0.7928 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.5174, allocations: 103.5 kB / 0.7929 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5174, allocations: 2.625 kB / 0.7929 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.5175, allocations: 49.11 kB / 0.7929 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.5179, allocations: 59.69 kB / 0.793 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.5183, allocations: 300.9 kB / 0.7933 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.5184, allocations: 0.7203 MB / 0.794 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.317e-05/0.5185, allocations: 31.58 kB / 0.794 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.5185, allocations: 24.67 kB / 0.794 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.5185, allocations: 0 / 0.794 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.007268/0.5258, allocations: 4.163 MB / 0.7981 GB, free: 42.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)