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.001463/0.001463, 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.001762/0.001762, allocations: 188.3 kB / 16.62 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.651/1.651, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001381/0.001381, allocations: 74.5 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1982, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002814/0.2011, allocations: 1.741 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2025, allocations: 0.9416 MB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.2025, allocations: 0 / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.2027, allocations: 35.72 kB / 0.7863 GB, free: 10.55 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.0003319/0.2031, allocations: 119.4 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.2034, allocations: 155 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.2037, allocations: 239.3 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2038, allocations: 37.94 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2039, allocations: 107.7 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.2041, allocations: 135.5 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.2041, allocations: 16 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.2043, allocations: 139.8 kB / 0.7872 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.2044, allocations: 39.84 kB / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.2045, allocations: 99.48 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.2048, allocations: 283.2 kB / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2048, allocations: 0 / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2048, allocations: 0 / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2049, allocations: 4 kB / 0.7876 GB, free: 9.207 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.0007802/0.2056, allocations: 0.5722 MB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2057, allocations: 12.03 kB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.2057, allocations: 34.75 kB / 0.7882 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.2058, allocations: 20.75 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.206, allocations: 251.2 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2061, allocations: 16 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.2061, allocations: 15.94 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.2063, allocations: 101.5 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2063, allocations: 0 / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2063, allocations: 0 / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2063, allocations: 4 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2064, allocations: 51.97 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.2071, allocations: 460.4 kB / 0.7891 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.2076, allocations: 138.7 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.2076, allocations: 36.84 kB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.2077, allocations: 4 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.2079, allocations: 115.3 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.2079, allocations: 0 / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003231/0.2082, allocations: 165.3 kB / 0.7895 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2082, allocations: 63.33 kB / 0.7896 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2084, allocations: 191.8 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2085, allocations: 33.7 kB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.2085, allocations: 124.4 kB / 0.7899 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.2086, allocations: 31.62 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.2087, allocations: 57.66 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.2088, allocations: 326.8 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.2088, allocations: 35.98 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.209, allocations: 134 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2092, allocations: 99.09 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2092, allocations: 8 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002124/0.2094, allocations: 149.3 kB / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2094, allocations: 8 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2094, allocations: 0 / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2095, allocations: 4 kB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.2095, allocations: 27.86 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2095, allocations: 0 / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.2097, allocations: 27.83 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2098, allocations: 8.125 kB / 0.7908 GB, free: 5.648 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.0001107/0.2099, allocations: 148.1 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.2099, allocations: 19.81 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.21, allocations: 17.88 kB / 0.7909 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.21, allocations: 0 / 0.7909 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.21, allocations: 3.984 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.21, allocations: 3.938 kB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.2106, allocations: 0.4885 MB / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2106, allocations: 0 / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.2106, allocations: 11.98 kB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2106, allocations: 0 / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2106, allocations: 7.938 kB / 0.7914 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2107, allocations: 0 / 0.7914 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2107, allocations: 0 / 0.7914 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.2109, allocations: 231.3 kB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.2109, allocations: 92.86 kB / 0.7918 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.211, allocations: 7.938 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2111, allocations: 11.98 kB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.2112, allocations: 19.97 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.2112, allocations: 15.98 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001052/0.2113, allocations: 135.3 kB / 0.7919 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2113, allocations: 0 / 0.7919 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003595/0.2117, allocations: 71.98 kB / 0.792 GB, free: 4.277 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.0007668/0.2124, allocations: 0.9052 MB / 0.7929 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.2127, allocations: 103.8 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2127, allocations: 256 / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.2128, allocations: 62.67 kB / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.2132, allocations: 63.62 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.215, allocations: 1.907 MB / 0.795 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2153, allocations: 0.7281 MB / 0.7957 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.663e-05/0.2154, allocations: 29.48 kB / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.2155, allocations: 55.41 kB / 0.7958 GB, free: 328 kB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2155, allocations: 0 / 0.7958 GB, free: 328 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.2364, allocations: 6.059 MB / 0.8017 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.259, allocations: 14.62 kB / 0.8017 GB, free: 10.42 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)