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.001269/0.00127, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 186.4 kB / 16.62 MB, free: 6.613 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.329/1.329, 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 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.0014/0.0014, allocations: 67.19 kB / 0.6722 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2226, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003179/0.2258, allocations: 1.738 MB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2274, allocations: 0.9455 MB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.2275, allocations: 0 / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.2277, allocations: 23.72 kB / 0.7867 GB, free: 10.01 MB / 0.6075 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.0003544/0.2281, allocations: 123.4 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2284, allocations: 147.7 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2287, allocations: 247.3 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.2288, allocations: 41.66 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2289, allocations: 111.7 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.2291, allocations: 127.5 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.2292, allocations: 20 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.2294, allocations: 131.8 kB / 0.7877 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.2295, allocations: 47.77 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.2296, allocations: 91.56 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.2299, allocations: 291.1 kB / 0.7881 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2299, allocations: 0 / 0.7881 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2299, allocations: 0 / 0.7881 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2299, allocations: 0 / 0.7881 GB, free: 8.656 MB / 0.6075 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.0008732/0.2308, allocations: 0.5761 MB / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2309, allocations: 8.031 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.231, allocations: 20.75 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.2313, allocations: 256 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.2313, allocations: 12 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.2313, allocations: 12 kB / 0.7889 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2316, allocations: 121.9 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2316, allocations: 0 / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2316, allocations: 7.984 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2316, allocations: 3.938 kB / 0.7891 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2317, allocations: 59.91 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.2325, allocations: 0.5434 MB / 0.7896 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.2327, allocations: 93.12 kB / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.2328, allocations: 41.89 kB / 0.7898 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2328, allocations: 4 kB / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.2331, allocations: 121 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.2331, allocations: 0 / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003296/0.2334, allocations: 160.2 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.2335, allocations: 85.09 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.2337, allocations: 207.8 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2337, allocations: 33.7 kB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.2338, allocations: 120.4 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.2338, allocations: 35.55 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.2339, allocations: 57.67 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2341, allocations: 330.8 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.2341, allocations: 35.98 kB / 0.7909 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.2344, allocations: 143.7 kB / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2345, allocations: 109.9 kB / 0.7911 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2345, allocations: 0 / 0.7911 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002331/0.2348, allocations: 164.8 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2348, allocations: 10.66 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2348, allocations: 0 / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2348, allocations: 4 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.2349, allocations: 28.08 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2349, allocations: 0 / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2352, allocations: 23.89 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.2352, allocations: 8 kB / 0.7914 GB, free: 4.949 MB / 0.6075 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 0.0001202/0.2353, allocations: 144.1 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.2353, allocations: 15.81 kB / 0.7915 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.2354, allocations: 25.47 kB / 0.7916 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2354, allocations: 4.078 kB / 0.7916 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2354, allocations: 8 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2354, allocations: 3.984 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.236, allocations: 458.2 kB / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.236, allocations: 0 / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.236, allocations: 7.984 kB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.236, allocations: 4 kB / 0.792 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.236, allocations: 0 / 0.792 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2361, allocations: 3.938 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2361, allocations: 7.938 kB / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2363, allocations: 239.2 kB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.2363, allocations: 96.92 kB / 0.7923 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2364, allocations: 0 / 0.7923 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2365, allocations: 15.92 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.2366, allocations: 23.97 kB / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.2366, allocations: 8 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001176/0.2367, allocations: 143.3 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.293e-06/0.2368, allocations: 0 / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003822/0.2371, allocations: 79.86 kB / 0.7926 GB, free: 3.586 MB / 0.6075 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.0004847/0.2376, allocations: 222.9 kB / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.2379, allocations: 111.1 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2379, allocations: 0 / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.238, allocations: 51.92 kB / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2385, allocations: 62.06 kB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.239, allocations: 283.3 kB / 0.7933 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2393, allocations: 0.7242 MB / 0.794 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.206e-05/0.2394, allocations: 21.55 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.2394, allocations: 27.42 kB / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2395, allocations: 0 / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.007819/0.2473, allocations: 4.147 MB / 0.7981 GB, free: 13.96 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)