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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 108 kB / 15.61 MB, free: 152 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.001108/0.001108, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.839/1.839, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001475/0.001475, allocations: 70.19 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2514, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003538/0.255, allocations: 1.73 MB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.2567, allocations: 0.9494 MB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.2568, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.257, allocations: 27.73 kB / 0.7861 GB, free: 10.65 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.0003747/0.2574, allocations: 119.4 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.2578, allocations: 150.3 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.258, allocations: 235.4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2582, allocations: 37.94 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2583, allocations: 111.7 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2585, allocations: 131.5 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.2585, allocations: 20 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.2587, allocations: 107.9 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.2588, allocations: 39.84 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.2589, allocations: 99.53 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.2593, allocations: 287.2 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2593, allocations: 4 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2593, allocations: 0 / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2593, allocations: 0 / 0.7874 GB, free: 9.336 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.0008181/0.2601, allocations: 0.5722 MB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2602, allocations: 8.031 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.2602, allocations: 42.75 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.2603, allocations: 24.75 kB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.2606, allocations: 251.2 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2606, allocations: 4 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.2606, allocations: 16 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2608, allocations: 97.59 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2608, allocations: 0 / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2609, allocations: 4 kB / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2609, allocations: 0 / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.261, allocations: 55.91 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.2617, allocations: 464.3 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.2621, allocations: 146.6 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.2622, allocations: 40.78 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.2622, allocations: 0 / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.2625, allocations: 107.3 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2625, allocations: 4 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003354/0.2628, allocations: 172.2 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2629, allocations: 59.39 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.2631, allocations: 190.6 kB / 0.7896 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.2631, allocations: 33.7 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.2632, allocations: 128.4 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.2632, allocations: 31.61 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.2633, allocations: 57.67 kB / 0.7898 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2635, allocations: 330.8 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.2636, allocations: 31.98 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2638, allocations: 130 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.264, allocations: 111.6 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.264, allocations: 0 / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000232/0.2642, allocations: 153.3 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2642, allocations: 8 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2642, allocations: 0 / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2643, allocations: 8.125 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.2643, allocations: 15.92 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2643, allocations: 4 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.2646, allocations: 27.83 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2646, allocations: 4 kB / 0.7906 GB, free: 5.773 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.0001429/0.2647, allocations: 148.1 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.2648, allocations: 19.84 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.2648, allocations: 17.88 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2648, allocations: 4 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2648, allocations: 3.984 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2648, allocations: 0 / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.2655, allocations: 0.4902 MB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2655, allocations: 0 / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.2655, allocations: 7.984 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2655, allocations: 7.938 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2656, allocations: 7.938 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2656, allocations: 0 / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2656, allocations: 0 / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.2658, allocations: 231.3 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.2659, allocations: 92.86 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.2659, allocations: 3.938 kB / 0.7916 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.266, allocations: 19.98 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.2661, allocations: 19.97 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.2661, allocations: 11.98 kB / 0.7916 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001191/0.2663, allocations: 140.2 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2663, allocations: 0 / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003435/0.2666, allocations: 71.98 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: 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.0008609/0.2675, allocations: 0.8983 MB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.2677, allocations: 122.9 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2677, allocations: 0 / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.2678, allocations: 51.92 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.2682, allocations: 61.19 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.2703, allocations: 1.911 MB / 0.7948 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2706, allocations: 0.7203 MB / 0.7955 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.661e-05/0.2707, allocations: 21.53 kB / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.2708, allocations: 59.41 kB / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2708, allocations: 0 / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.295, allocations: 6.051 MB / 0.8015 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.584, allocations: 3.938 kB / 0.8015 GB, free: 10.55 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)