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.001318/0.001318, allocations: 109.3 kB / 16.36 MB, free: 6.426 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.001246/0.001246, allocations: 190.6 kB / 17.3 MB, free: 5.805 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.747/1.747, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001617/0.001617, allocations: 63.89 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2153, allocations: 114.6 MB / 0.7848 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003313/0.2186, allocations: 1.737 MB / 0.7865 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2203, allocations: 0.9367 MB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2204, allocations: 7.938 kB / 0.7874 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.2207, allocations: 27.73 kB / 0.7874 GB, free: 0.4961 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.0004655/0.2211, allocations: 115.4 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2215, allocations: 155.7 kB / 0.7877 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3508/0.5724, allocations: 238 kB / 0.7879 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.5726, allocations: 37.3 kB / 0.7879 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.5729, allocations: 115.5 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.5731, allocations: 131.6 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.5732, allocations: 15.75 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.5735, allocations: 135.7 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.5735, allocations: 44.88 kB / 0.7884 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.5737, allocations: 94.73 kB / 0.7885 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.574, allocations: 289.5 kB / 0.7887 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.574, allocations: 0 / 0.7887 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.574, allocations: 1.906 kB / 0.7887 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5741, allocations: 0 / 0.7887 GB, free: 46.46 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.0006966/0.5748, allocations: 0.5742 MB / 0.7893 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5748, allocations: 13.09 kB / 0.7893 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.5749, allocations: 22.34 kB / 0.7893 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.5751, allocations: 249 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5751, allocations: 7.25 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.5752, allocations: 20.03 kB / 0.7896 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.5754, allocations: 114.6 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5754, allocations: 0 / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5754, allocations: 3.312 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5754, allocations: 2.906 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.5755, allocations: 55.5 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.5762, allocations: 0.5385 MB / 0.7903 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.5764, allocations: 98.09 kB / 0.7904 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.5765, allocations: 42.95 kB / 0.7904 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.5765, allocations: 2.125 kB / 0.7904 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.5767, allocations: 123 kB / 0.7905 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5767, allocations: 0 / 0.7905 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0002992/0.577, allocations: 166.6 kB / 0.7907 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.577, allocations: 82.38 kB / 0.7908 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5772, allocations: 208.9 kB / 0.791 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.5772, allocations: 32.92 kB / 0.791 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.5773, allocations: 118.8 kB / 0.7911 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.5773, allocations: 38.38 kB / 0.7912 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.5774, allocations: 58.03 kB / 0.7912 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.5775, allocations: 329.9 kB / 0.7915 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.5775, allocations: 33.33 kB / 0.7916 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.5777, allocations: 135 kB / 0.7917 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.5779, allocations: 118.6 kB / 0.7918 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5779, allocations: 3.938 kB / 0.7918 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002112/0.5781, allocations: 163.6 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5781, allocations: 7.406 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5781, allocations: 2.625 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5781, allocations: 2.625 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.5782, allocations: 17.77 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5782, allocations: 6.156 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.5784, allocations: 31.41 kB / 0.792 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5785, allocations: 5.25 kB / 0.792 GB, free: 44.32 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.969e-05/0.5786, allocations: 143.1 kB / 0.7922 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.5786, allocations: 15.69 kB / 0.7922 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.5786, allocations: 20.78 kB / 0.7922 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5787, allocations: 9.188 kB / 0.7922 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5787, allocations: 6.125 kB / 0.7922 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5787, allocations: 0 / 0.7922 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.5791, allocations: 470.4 kB / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5791, allocations: 0 / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.5792, allocations: 5.25 kB / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5792, allocations: 2.109 kB / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5792, allocations: 9.969 kB / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.5792, allocations: 0 / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5792, allocations: 2.625 kB / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.5794, allocations: 225.6 kB / 0.7929 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.5794, allocations: 94.11 kB / 0.793 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.5795, allocations: 12.5 kB / 0.793 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5796, allocations: 11.75 kB / 0.793 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.5796, allocations: 22.14 kB / 0.793 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.5797, allocations: 11.77 kB / 0.793 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.601e-05/0.5798, allocations: 151.8 kB / 0.7932 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5798, allocations: 0 / 0.7932 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003197/0.5801, allocations: 74.91 kB / 0.7933 GB, free: 43.54 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.0004243/0.5805, allocations: 227.8 kB / 0.7935 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.5808, allocations: 106.9 kB / 0.7936 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5808, allocations: 3.469 kB / 0.7936 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.5808, allocations: 46.56 kB / 0.7936 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.5813, allocations: 72.56 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.5817, allocations: 292 kB / 0.794 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.5818, allocations: 0.7191 MB / 0.7947 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.459e-05/0.5819, allocations: 22.25 kB / 0.7947 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.5819, allocations: 25.23 kB / 0.7947 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.5819, allocations: 0 / 0.7947 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.007108/0.589, allocations: 4.163 MB / 0.7988 GB, free: 42.3 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)