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.001567/0.001567, allocations: 108 kB / 15.6 MB, free: 132 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.001826/0.001826, allocations: 193.4 kB / 16.53 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.286/1.286, allocations: 205.1 MB / 222.4 MB, free: 4.434 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.687/1.687, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001356/0.001356, allocations: 70.25 kB / 0.6715 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2254, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003075/0.2285, allocations: 1.729 MB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2304, allocations: 0.9494 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2306, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.2309, allocations: 31.72 kB / 0.786 GB, free: 10.77 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.0005957/0.2315, allocations: 115.5 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.2319, allocations: 147.1 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.2322, allocations: 247.3 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2323, allocations: 41.66 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2325, allocations: 107.7 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.2327, allocations: 131.5 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.2327, allocations: 16 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.2329, allocations: 111.9 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.233, allocations: 55.75 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.2331, allocations: 83.58 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.2335, allocations: 295.4 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2335, allocations: 0 / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2335, allocations: 3.938 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2335, allocations: 4 kB / 0.7873 GB, free: 9.445 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.0007909/0.2343, allocations: 0.5644 MB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2343, allocations: 8.031 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.2344, allocations: 20.75 kB / 0.7879 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.2347, allocations: 248 kB / 0.7881 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2347, allocations: 12 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.2347, allocations: 16 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2349, allocations: 117.9 kB / 0.7883 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.235, allocations: 3.938 kB / 0.7883 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.235, allocations: 7.938 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.235, allocations: 0 / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2351, allocations: 62.56 kB / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.2359, allocations: 0.5434 MB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2361, allocations: 101.1 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.2361, allocations: 37.77 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2362, allocations: 4 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.2364, allocations: 121.1 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.2364, allocations: 0 / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003082/0.2367, allocations: 161.6 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.2368, allocations: 85.09 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.237, allocations: 206.5 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.237, allocations: 33.7 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.2371, allocations: 124.4 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2371, allocations: 31.56 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.2372, allocations: 57.67 kB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2373, allocations: 331 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.2374, allocations: 35.98 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.2377, allocations: 139.7 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2378, allocations: 113.4 kB / 0.7904 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2378, allocations: 0 / 0.7904 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002438/0.2381, allocations: 157.5 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2381, allocations: 12 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2381, allocations: 4 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2381, allocations: 7.938 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.2382, allocations: 16 kB / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2382, allocations: 7.984 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.2385, allocations: 19.89 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2385, allocations: 11.94 kB / 0.7906 GB, free: 5.75 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.0001213/0.2386, allocations: 144.1 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.2387, allocations: 27.81 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.2387, allocations: 21.52 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2387, allocations: 0 / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2387, allocations: 0 / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2387, allocations: 4 kB / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.2393, allocations: 458.2 kB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2393, allocations: 4 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.2393, allocations: 7.938 kB / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2394, allocations: 7.984 kB / 0.7912 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2394, allocations: 0 / 0.7912 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2394, allocations: 7.875 kB / 0.7912 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2394, allocations: 4 kB / 0.7912 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2396, allocations: 236 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.2397, allocations: 92.92 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.2397, allocations: 4 kB / 0.7916 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2398, allocations: 15.92 kB / 0.7916 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.2399, allocations: 19.97 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.2399, allocations: 8 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000112/0.24, allocations: 148.2 kB / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2401, allocations: 0 / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003462/0.2404, allocations: 71.92 kB / 0.7918 GB, free: 4.391 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.0004435/0.2409, allocations: 238.2 kB / 0.792 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.2411, allocations: 107.8 kB / 0.7921 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2411, allocations: 0 / 0.7921 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.2412, allocations: 55.91 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.2416, allocations: 54.66 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.2421, allocations: 296.2 kB / 0.7925 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2424, allocations: 0.7242 MB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.2425, allocations: 25.53 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.2426, allocations: 27.42 kB / 0.7933 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2426, allocations: 0 / 0.7933 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.007609/0.2502, allocations: 4.144 MB / 0.7973 GB, free: 14.74 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)