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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001146/0.00115, allocations: 101.4 kB / 15.7 MB, free: 28 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.001161/0.001161, allocations: 197 kB / 16.64 MB, free: 6.582 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.34/1.34, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.648/1.648, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001877/0.001877, allocations: 70.72 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2747, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003828/0.2786, allocations: 1.736 MB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.2805, allocations: 0.9416 MB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2806, allocations: 3.938 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2809, allocations: 27.72 kB / 0.7863 GB, free: 10.54 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.0005521/0.2815, allocations: 123.5 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.282, allocations: 155.6 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.2824, allocations: 243.3 kB / 0.7868 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.2826, allocations: 33.94 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.2828, allocations: 119.6 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.2831, allocations: 123.6 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.2832, allocations: 16 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.2835, allocations: 139.8 kB / 0.7872 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2836, allocations: 47.77 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2838, allocations: 87.56 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.2843, allocations: 295.1 kB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2843, allocations: 0 / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2843, allocations: 0 / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.2843, allocations: 0 / 0.7876 GB, free: 9.188 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.001063/0.2854, allocations: 0.5722 MB / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2855, allocations: 12.02 kB / 0.7882 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.2855, allocations: 38.75 kB / 0.7882 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.2856, allocations: 20.75 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.2859, allocations: 247.2 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.286, allocations: 8 kB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.286, allocations: 16 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.2862, allocations: 105.5 kB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2862, allocations: 0 / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2863, allocations: 0 / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2863, allocations: 4 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.2864, allocations: 54.72 kB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.2873, allocations: 464.3 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.2878, allocations: 138.7 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.2879, allocations: 36.84 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2879, allocations: 4 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.2882, allocations: 103.3 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.848e-06/0.2882, allocations: 7.984 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004202/0.2886, allocations: 169.2 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2887, allocations: 59.39 kB / 0.7896 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.2889, allocations: 187.8 kB / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.289, allocations: 37.7 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2891, allocations: 128.4 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.2891, allocations: 31.62 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2892, allocations: 53.67 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2894, allocations: 326.8 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.2895, allocations: 39.92 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2897, allocations: 130 kB / 0.7905 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2899, allocations: 106.6 kB / 0.7906 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2899, allocations: 0 / 0.7906 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002514/0.2901, allocations: 153.3 kB / 0.7907 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2902, allocations: 8 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2902, allocations: 0 / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2902, allocations: 4 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.2903, allocations: 23.92 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2903, allocations: 0 / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.2906, allocations: 27.83 kB / 0.7908 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2906, allocations: 8 kB / 0.7908 GB, free: 5.633 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.0001514/0.2908, allocations: 152.2 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.2908, allocations: 15.81 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.2909, allocations: 17.88 kB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2909, allocations: 0 / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2909, allocations: 0 / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2909, allocations: 3.984 kB / 0.791 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.2916, allocations: 0.4889 MB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2916, allocations: 0 / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.2917, allocations: 15.92 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2917, allocations: 0 / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2917, allocations: 7.938 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2917, allocations: 0 / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2917, allocations: 0 / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.292, allocations: 227.3 kB / 0.7917 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.292, allocations: 100.9 kB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.2921, allocations: 3.938 kB / 0.7918 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2922, allocations: 11.98 kB / 0.7918 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.2923, allocations: 23.97 kB / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.2924, allocations: 8 kB / 0.7918 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001398/0.2925, allocations: 139.3 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2925, allocations: 0 / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003918/0.2929, allocations: 79.92 kB / 0.792 GB, free: 4.254 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.001037/0.294, allocations: 0.8984 MB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.2942, allocations: 102.5 kB / 0.793 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2942, allocations: 0 / 0.793 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2944, allocations: 60.09 kB / 0.7931 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.2949, allocations: 56.95 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.2974, allocations: 1.899 MB / 0.795 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.2978, allocations: 0.7203 MB / 0.7957 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.2979, allocations: 33.47 kB / 0.7957 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2981, allocations: 55.41 kB / 0.7958 GB, free: 332 kB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.2981, allocations: 3.938 kB / 0.7958 GB, free: 328 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3276, allocations: 6.075 MB / 0.8017 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.305, allocations: 7.938 kB / 0.8017 GB, free: 10.42 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)