Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001116/0.001116, allocations: 189.1 kB / 16.25 MB, free: 6.625 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.1 MB, free: 4.723 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.664/1.664, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001353/0.001353, allocations: 65.5 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2123, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003093/0.2154, allocations: 1.885 MB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2169, allocations: 0.9679 MB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2171, allocations: 7.938 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2173, allocations: 19.86 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.2176, allocations: 99.64 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.218, allocations: 138.9 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2183, allocations: 247.3 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2184, allocations: 41.64 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2185, allocations: 107.6 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0209/0.2394, allocations: 1.694 MB / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-05/0.2395, allocations: 16 kB / 0.7879 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.2397, allocations: 43.97 kB / 0.788 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.2398, allocations: 43.78 kB / 0.788 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.2399, allocations: 91.56 kB / 0.7881 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.2403, allocations: 211.3 kB / 0.7883 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2403, allocations: 0 / 0.7883 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2403, allocations: 0 / 0.7883 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.2403, allocations: 0 / 0.7883 GB, free: 8.73 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.0008686/0.2412, allocations: 0.5527 MB / 0.7888 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2413, allocations: 12.03 kB / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.2413, allocations: 20.66 kB / 0.7889 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2416, allocations: 243.5 kB / 0.7891 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2416, allocations: 8 kB / 0.7891 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.2417, allocations: 12 kB / 0.7891 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.2419, allocations: 97.59 kB / 0.7892 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2419, allocations: 0 / 0.7892 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.242, allocations: 11.94 kB / 0.7892 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.242, allocations: 4 kB / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2421, allocations: 51.91 kB / 0.7893 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.2429, allocations: 468.3 kB / 0.7897 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.2433, allocations: 142.7 kB / 0.7899 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.2434, allocations: 36.84 kB / 0.7899 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.2434, allocations: 8 kB / 0.7899 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.2436, allocations: 103.3 kB / 0.79 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.2436, allocations: 3.938 kB / 0.79 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00035/0.244, allocations: 161.4 kB / 0.7902 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.244, allocations: 55.41 kB / 0.7902 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.2442, allocations: 198.5 kB / 0.7904 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2442, allocations: 37.7 kB / 0.7904 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2444, allocations: 124.5 kB / 0.7906 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.2444, allocations: 39.48 kB / 0.7906 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2445, allocations: 57.67 kB / 0.7907 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2446, allocations: 330.8 kB / 0.791 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.2447, allocations: 27.98 kB / 0.791 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.245, allocations: 135.5 kB / 0.7911 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2451, allocations: 103.6 kB / 0.7912 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.2451, allocations: 4 kB / 0.7912 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000245/0.2454, allocations: 149.3 kB / 0.7914 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2454, allocations: 11.94 kB / 0.7914 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2454, allocations: 0 / 0.7914 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2454, allocations: 4 kB / 0.7914 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.2455, allocations: 15.98 kB / 0.7914 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2455, allocations: 0 / 0.7914 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.2457, allocations: 23.92 kB / 0.7914 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2457, allocations: 4 kB / 0.7914 GB, free: 5.246 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.000129/0.2459, allocations: 152.7 kB / 0.7916 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2459, allocations: 19.72 kB / 0.7916 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.246, allocations: 17.88 kB / 0.7916 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.246, allocations: 0 / 0.7916 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.246, allocations: 0 / 0.7916 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.246, allocations: 3.984 kB / 0.7916 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.2466, allocations: 498.1 kB / 0.7921 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2466, allocations: 0 / 0.7921 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.2467, allocations: 7.938 kB / 0.7921 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2467, allocations: 0 / 0.7921 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2467, allocations: 11.92 kB / 0.7921 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2467, allocations: 3.938 kB / 0.7921 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2467, allocations: 0 / 0.7921 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.2469, allocations: 231.1 kB / 0.7923 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.247, allocations: 96.91 kB / 0.7924 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.247, allocations: 0 / 0.7924 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2472, allocations: 19.92 kB / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.2473, allocations: 24 kB / 0.7925 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.2473, allocations: 15.94 kB / 0.7925 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001211/0.2474, allocations: 140.2 kB / 0.7926 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2474, allocations: 0 / 0.7926 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003051/0.2477, allocations: 51.92 kB / 0.7927 GB, free: 3.883 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.0002841/0.248, allocations: 158.7 kB / 0.7928 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2483, allocations: 107.8 kB / 0.7929 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2483, allocations: 0 / 0.7929 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.2484, allocations: 55.92 kB / 0.793 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.2488, allocations: 55.67 kB / 0.793 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.2494, allocations: 370.8 kB / 0.7934 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2498, allocations: 0.7203 MB / 0.7941 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.837e-05/0.2499, allocations: 29.52 kB / 0.7941 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.25, allocations: 19.44 kB / 0.7941 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.25, allocations: 0 / 0.7941 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.007373/0.2573, allocations: 3.597 MB / 0.7976 GB, free: 14.79 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)