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.00127/0.00127, 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.001256/0.001256, allocations: 199 kB / 16.54 MB, free: 6.672 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.547/1.547, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.669/1.669, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001442/0.001442, allocations: 64.62 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2409, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003118/0.2441, allocations: 1.64 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2454, allocations: 0.5704 MB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.2455, allocations: 0 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2457, allocations: 27.73 kB / 0.7856 GB, free: 11.12 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.0004716/0.2462, allocations: 107.5 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.2467, allocations: 150.6 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.247, allocations: 215.5 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2471, allocations: 29.55 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2473, allocations: 99.67 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2475, allocations: 119.5 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.2475, allocations: 16 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.2477, allocations: 111.9 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.2478, allocations: 35.89 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2479, allocations: 79.58 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2483, allocations: 263.5 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2483, allocations: 0 / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2483, allocations: 4 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2483, allocations: 0 / 0.7868 GB, free: 9.918 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.0007007/0.249, allocations: 0.545 MB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2491, allocations: 12.03 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.2491, allocations: 38.73 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.2492, allocations: 20.75 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2494, allocations: 239.7 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2494, allocations: 8 kB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.2495, allocations: 16 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.2496, allocations: 77.66 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2497, allocations: 3.938 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2497, allocations: 4 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2497, allocations: 0 / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.2498, allocations: 43.92 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.2505, allocations: 448.4 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2507, allocations: 62.56 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.2507, allocations: 36.97 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2507, allocations: 0 / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.251, allocations: 95.22 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.251, allocations: 0 / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0002951/0.2513, allocations: 125.5 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2513, allocations: 55.41 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2515, allocations: 195.1 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2515, allocations: 33.7 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.2516, allocations: 119.8 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2517, allocations: 27.66 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.2517, allocations: 61.59 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2519, allocations: 322.8 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.2519, allocations: 27.98 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.2521, allocations: 124.5 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2523, allocations: 84.23 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2523, allocations: 0 / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002047/0.2525, allocations: 137.5 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2525, allocations: 14.47 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2525, allocations: 4 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2525, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.2526, allocations: 19.92 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2526, allocations: 0 / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.2528, allocations: 19.98 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2528, allocations: 4 kB / 0.7897 GB, free: 6.652 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.0001083/0.2529, allocations: 126.5 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.253, allocations: 19.75 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.253, allocations: 21.39 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.253, allocations: 8.031 kB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.253, allocations: 0 / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.253, allocations: 0 / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.2535, allocations: 434.1 kB / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2535, allocations: 0 / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.2536, allocations: 7.938 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2536, allocations: 7.938 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2536, allocations: 4 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2536, allocations: 4 kB / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2536, allocations: 0 / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.2538, allocations: 207.2 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.2538, allocations: 92.92 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.2539, allocations: 0 / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.254, allocations: 11.98 kB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.254, allocations: 11.98 kB / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.254, allocations: 8 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001102/0.2542, allocations: 134.3 kB / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.505e-06/0.2542, allocations: 0 / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003128/0.2545, allocations: 71.92 kB / 0.7908 GB, free: 5.402 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.0008128/0.2553, allocations: 0.877 MB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.2555, allocations: 79.84 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2555, allocations: 0 / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.2556, allocations: 39.92 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.256, allocations: 54.22 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2578, allocations: 1.795 MB / 0.7936 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2581, allocations: 0.7163 MB / 0.7943 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.563e-05/0.2581, allocations: 21.53 kB / 0.7943 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.2582, allocations: 47.42 kB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.2582, allocations: 0 / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.2822, allocations: 5.484 MB / 0.7997 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.666, allocations: 3.938 kB / 0.7997 GB, free: 12.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)