Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001854/0.001853, allocations: 105.4 kB / 15.7 MB, free: 24 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.003148/0.003148, allocations: 188.3 kB / 16.64 MB, free: 6.594 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.613 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.656/1.656, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001511/0.001511, allocations: 71.3 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2039, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003548/0.2075, allocations: 1.738 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.2093, allocations: 0.9455 MB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2095, allocations: 7.938 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.2097, allocations: 27.72 kB / 0.7863 GB, free: 10.5 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.0005018/0.2102, allocations: 115.4 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.2107, allocations: 147.7 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.211, allocations: 247.3 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2112, allocations: 33.67 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2114, allocations: 119.6 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.2117, allocations: 123.6 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.2117, allocations: 23.94 kB / 0.7871 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.212, allocations: 139.8 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.2121, allocations: 35.91 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2123, allocations: 99.44 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.2127, allocations: 287.5 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2127, allocations: 0 / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2127, allocations: 0 / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.2128, allocations: 0 / 0.7876 GB, free: 9.152 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001001/0.2138, allocations: 0.58 MB / 0.7882 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.2138, allocations: 8.031 kB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.2139, allocations: 46.73 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.214, allocations: 20.75 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.2143, allocations: 251.2 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2144, allocations: 8 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.2144, allocations: 16 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2146, allocations: 115.3 kB / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2146, allocations: 0 / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2147, allocations: 4 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.2147, allocations: 4 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2148, allocations: 55.91 kB / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.2157, allocations: 0.5472 MB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.2159, allocations: 97.19 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.216, allocations: 41.7 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.216, allocations: 8.062 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.2163, allocations: 121.1 kB / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 3.146e-06/0.2163, allocations: 0 / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003297/0.2166, allocations: 168.8 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.2167, allocations: 81.11 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2169, allocations: 203.7 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.217, allocations: 37.7 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.2171, allocations: 120.5 kB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.2171, allocations: 35.55 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2172, allocations: 61.67 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2174, allocations: 326.8 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.2174, allocations: 27.98 kB / 0.7905 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.2177, allocations: 151.7 kB / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.2179, allocations: 105.9 kB / 0.7907 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2179, allocations: 4 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002677/0.2182, allocations: 157.3 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2182, allocations: 4 kB / 0.7909 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2182, allocations: 4 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2182, allocations: 0 / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.2183, allocations: 12 kB / 0.7909 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.2183, allocations: 12.09 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2186, allocations: 31.81 kB / 0.7909 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.2186, allocations: 12 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.000142/0.2188, allocations: 132.2 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.2188, allocations: 15.81 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.2188, allocations: 25.52 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2189, allocations: 4 kB / 0.7911 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2189, allocations: 0 / 0.7911 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2189, allocations: 7.938 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.2195, allocations: 462.3 kB / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2195, allocations: 0 / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.2196, allocations: 11.94 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.2196, allocations: 7.922 kB / 0.7916 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2196, allocations: 7.938 kB / 0.7916 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2196, allocations: 0 / 0.7916 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2196, allocations: 0 / 0.7916 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2199, allocations: 239.1 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.2199, allocations: 96.8 kB / 0.7919 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.22, allocations: 11.94 kB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.2201, allocations: 7.984 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.2202, allocations: 19.97 kB / 0.7919 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.2202, allocations: 8 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001287/0.2203, allocations: 151.3 kB / 0.7921 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2203, allocations: 0 / 0.7921 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003946/0.2207, allocations: 75.92 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0009233/0.2217, allocations: 0.8999 MB / 0.793 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2219, allocations: 95.91 kB / 0.7931 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2219, allocations: 0 / 0.7931 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2221, allocations: 51.92 kB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.2226, allocations: 68.81 kB / 0.7933 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.225, allocations: 1.927 MB / 0.7951 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.2255, allocations: 0.7242 MB / 0.7958 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.956e-05/0.2256, allocations: 25.53 kB / 0.7959 GB, free: 108 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.2257, allocations: 59.41 kB / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.2258, allocations: 0 / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.2504, allocations: 6.017 MB / 0.8018 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.237, allocations: 20.17 kB / 0.8018 GB, free: 10.19 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)