Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001434/0.001433, 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.001573/0.001573, allocations: 193.6 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.368/1.368, allocations: 205.1 MB / 222.4 MB, free: 4.551 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.653/1.653, allocations: 292.3 MB / 0.5488 GB, free: 12.83 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.001281/0.001281, allocations: 70.08 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2175, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002699/0.2202, allocations: 1.738 MB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2217, allocations: 0.9455 MB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.2217, allocations: 4 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2219, allocations: 31.64 kB / 0.786 GB, free: 10.74 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.0002764/0.2222, allocations: 111.5 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.2225, allocations: 155.7 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.2227, allocations: 243.4 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.2228, allocations: 29.67 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2229, allocations: 107.7 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2231, allocations: 131.5 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.2231, allocations: 20 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.2233, allocations: 115.9 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.2233, allocations: 43.83 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.2234, allocations: 87.52 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.2237, allocations: 291.5 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.2237, allocations: 0 / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.02e-07/0.2238, allocations: 0 / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2238, allocations: 0 / 0.7873 GB, free: 9.43 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006488/0.2244, allocations: 0.5723 MB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.299e-05/0.2244, allocations: 8.031 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.2245, allocations: 24.66 kB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2248, allocations: 244.1 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2248, allocations: 8 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.2248, allocations: 12 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.225, allocations: 93.59 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-06/0.225, allocations: 4 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.225, allocations: 4 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-06/0.225, allocations: 7.938 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.934e-05/0.2251, allocations: 51.91 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.2258, allocations: 472.3 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.2261, allocations: 138.7 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.2262, allocations: 36.84 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2262, allocations: 7.938 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.2264, allocations: 107.2 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2265, allocations: 0 / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0002823/0.2267, allocations: 167.9 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2268, allocations: 59.39 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.227, allocations: 198.5 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.227, allocations: 33.7 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.2271, allocations: 128.4 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.2271, allocations: 27.56 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.2272, allocations: 61.67 kB / 0.7897 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.2273, allocations: 326.8 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.2274, allocations: 31.98 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.2276, allocations: 135.5 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2277, allocations: 102.8 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2278, allocations: 0 / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002477/0.228, allocations: 157.3 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.228, allocations: 8 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.228, allocations: 0 / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.2281, allocations: 0 / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.2281, allocations: 15.98 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2281, allocations: 4 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.2284, allocations: 23.92 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2284, allocations: 8 kB / 0.7904 GB, free: 5.926 MB / 0.6075 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.0001217/0.2285, allocations: 147.5 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.2285, allocations: 19.72 kB / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.2286, allocations: 17.88 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2286, allocations: 7.984 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2286, allocations: 0 / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2286, allocations: 0 / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.2292, allocations: 0.4903 MB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2292, allocations: 0 / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.2293, allocations: 11.92 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2293, allocations: 3.938 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.2293, allocations: 4 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2293, allocations: 11.88 kB / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2293, allocations: 0 / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.2295, allocations: 226 kB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.2296, allocations: 96.86 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.2297, allocations: 0 / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.2298, allocations: 23.91 kB / 0.7915 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.2299, allocations: 15.98 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.2299, allocations: 11.98 kB / 0.7915 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001169/0.23, allocations: 144.2 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.23, allocations: 0 / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003347/0.2303, allocations: 68 kB / 0.7917 GB, free: 4.543 MB / 0.6075 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.0003824/0.2307, allocations: 238.8 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.231, allocations: 123.7 kB / 0.792 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.231, allocations: 0 / 0.792 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.2311, allocations: 47.98 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.2315, allocations: 64.97 kB / 0.7921 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.2319, allocations: 303.2 kB / 0.7924 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2322, allocations: 0.7164 MB / 0.7931 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.281e-05/0.2323, allocations: 25.53 kB / 0.7931 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.2324, allocations: 27.42 kB / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2324, allocations: 0 / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.007592/0.24, allocations: 4.193 MB / 0.7973 GB, free: 14.84 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)