Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.001534/0.001534, 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.001192/0.001192, allocations: 187.9 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.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.759/1.759, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001401/0.001401, allocations: 64.3 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2412, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003788/0.245, allocations: 1.64 MB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2462, allocations: 0.5627 MB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2463, allocations: 4 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.2466, allocations: 27.72 kB / 0.7858 GB, free: 11.04 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.0004432/0.2471, allocations: 107.5 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.2475, allocations: 150.8 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.2478, allocations: 215.5 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2479, allocations: 25.55 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2481, allocations: 99.67 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.2483, allocations: 123.5 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.2483, allocations: 16 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2486, allocations: 127.8 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.2486, allocations: 35.91 kB / 0.7867 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2487, allocations: 87.56 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.2491, allocations: 271.5 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2492, allocations: 3.938 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2492, allocations: 0 / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.2492, allocations: 0 / 0.787 GB, free: 9.805 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008015/0.25, allocations: 0.5396 MB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.25, allocations: 8.031 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.2501, allocations: 46.69 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.322e-05/0.2502, allocations: 20.73 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.2505, allocations: 235.8 kB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2505, allocations: 8 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.2505, allocations: 8 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.2507, allocations: 81.66 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2507, allocations: 0 / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2507, allocations: 7.984 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2508, allocations: 7.938 kB / 0.7879 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.2509, allocations: 54.23 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.2516, allocations: 432.5 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2518, allocations: 78.47 kB / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.2518, allocations: 28.86 kB / 0.7885 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2519, allocations: 4 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.2521, allocations: 91.27 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.2521, allocations: 0 / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0003025/0.2524, allocations: 137.9 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.2524, allocations: 51.41 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.2526, allocations: 195 kB / 0.789 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2527, allocations: 33.7 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.2528, allocations: 116 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2528, allocations: 27.64 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.2529, allocations: 49.69 kB / 0.7892 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.253, allocations: 330.8 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.2531, allocations: 27.98 kB / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2533, allocations: 115.6 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2535, allocations: 88.22 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2535, allocations: 0 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002559/0.2537, allocations: 137.4 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2538, allocations: 11.94 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2538, allocations: 0 / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2538, allocations: 4 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.2539, allocations: 11.94 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2539, allocations: 4 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2541, allocations: 15.98 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2541, allocations: 4 kB / 0.7899 GB, free: 6.555 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001305/0.2543, allocations: 142.5 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.2543, allocations: 19.75 kB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.2543, allocations: 13.41 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2544, allocations: 0 / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2544, allocations: 0 / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2544, allocations: 3.984 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.2549, allocations: 446.2 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2549, allocations: 0 / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.2549, allocations: 4 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.255, allocations: 7.984 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.255, allocations: 0 / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.255, allocations: 0 / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.255, allocations: 0 / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.2552, allocations: 211.2 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.2552, allocations: 92.86 kB / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.2553, allocations: 0 / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.2554, allocations: 15.98 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.2555, allocations: 11.98 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.2555, allocations: 11.98 kB / 0.7908 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001163/0.2556, allocations: 134.3 kB / 0.791 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2556, allocations: 0 / 0.791 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000383/0.256, allocations: 67.98 kB / 0.791 GB, free: 5.293 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009101/0.2569, allocations: 0.8761 MB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.2571, allocations: 75.91 kB / 0.7919 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2572, allocations: 0 / 0.7919 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.2572, allocations: 39.92 kB / 0.792 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.2577, allocations: 54.31 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.2598, allocations: 1.789 MB / 0.7938 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.26, allocations: 0.7163 MB / 0.7945 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.922e-05/0.2601, allocations: 21.53 kB / 0.7945 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.2602, allocations: 43.42 kB / 0.7945 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2602, allocations: 0 / 0.7945 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.2827, allocations: 5.506 MB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.04, allocations: 14.72 kB / 0.7999 GB, free: 12.19 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)