Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.001171/0.001171, 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.001366/0.001366, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.351/1.351, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.729/1.729, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001798/0.001798, allocations: 66.81 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2971, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.006319/0.3035, allocations: 1.734 MB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003401/0.307, allocations: 0.9416 MB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.3072, allocations: 3.938 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.3076, allocations: 31.7 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.0008456/0.3086, allocations: 115.4 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.3094, allocations: 150.8 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005955/0.31, allocations: 239.3 kB / 0.7868 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.3102, allocations: 49.64 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.3105, allocations: 111.6 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.311, allocations: 135.5 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.3111, allocations: 16 kB / 0.7871 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.3116, allocations: 135.8 kB / 0.7872 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3117, allocations: 39.89 kB / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.312, allocations: 99.44 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007749/0.3127, allocations: 287.5 kB / 0.7876 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3128, allocations: 0 / 0.7876 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3128, allocations: 0 / 0.7876 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.3128, allocations: 4 kB / 0.7876 GB, free: 9.203 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.001442/0.3143, allocations: 0.5683 MB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.3144, allocations: 12.03 kB / 0.7882 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.017e-05/0.3144, allocations: 50.73 kB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.3146, allocations: 16.75 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.3151, allocations: 251.2 kB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.3152, allocations: 8 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.3152, allocations: 16 kB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.3157, allocations: 117.9 kB / 0.7886 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3157, allocations: 0 / 0.7886 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.3158, allocations: 4 kB / 0.7886 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3158, allocations: 4 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.3161, allocations: 55.91 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.3176, allocations: 0.5434 MB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.318, allocations: 97.12 kB / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.3181, allocations: 37.72 kB / 0.7893 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.3182, allocations: 16.06 kB / 0.7893 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.3186, allocations: 117.1 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.3186, allocations: 3.938 kB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0005859/0.3192, allocations: 161.6 kB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.3193, allocations: 81.11 kB / 0.7897 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.3197, allocations: 203.6 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.3198, allocations: 33.7 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3199, allocations: 116.5 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.32, allocations: 43.66 kB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.3202, allocations: 57.67 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3204, allocations: 326.8 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3206, allocations: 35.98 kB / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.321, allocations: 143.7 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3213, allocations: 105.9 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3213, allocations: 0 / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004954/0.3218, allocations: 164.7 kB / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.3219, allocations: 8.938 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.3219, allocations: 7.984 kB / 0.7909 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.322, allocations: 4 kB / 0.7909 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3222, allocations: 12 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.3222, allocations: 7.938 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.3226, allocations: 31.81 kB / 0.7909 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.3227, allocations: 4.25 kB / 0.7909 GB, free: 5.453 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.0002277/0.3229, allocations: 148.2 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.323, allocations: 15.81 kB / 0.7911 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.3231, allocations: 21.52 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3231, allocations: 0 / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.3231, allocations: 4 kB / 0.7911 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3231, allocations: 3.938 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3243, allocations: 462.3 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3243, allocations: 4 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.3244, allocations: 7.875 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3244, allocations: 4 kB / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3244, allocations: 7.938 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3244, allocations: 3.984 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3245, allocations: 4 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.3249, allocations: 235.3 kB / 0.7918 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/0.325, allocations: 96.84 kB / 0.7919 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.3251, allocations: 3.938 kB / 0.7919 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3254, allocations: 15.98 kB / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3255, allocations: 19.97 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.3256, allocations: 11.94 kB / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002338/0.3258, allocations: 143.3 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3258, allocations: 0 / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006837/0.3265, allocations: 79.92 kB / 0.7922 GB, free: 4.086 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.001337/0.3279, allocations: 0.8905 MB / 0.793 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.3283, allocations: 99.89 kB / 0.7931 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3283, allocations: 0 / 0.7931 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.3285, allocations: 55.92 kB / 0.7932 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.3292, allocations: 60.81 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.3327, allocations: 1.946 MB / 0.7951 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.3332, allocations: 0.7242 MB / 0.7958 GB, free: 180 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.3333, allocations: 21.64 kB / 0.7959 GB, free: 160 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3335, allocations: 63.41 kB / 0.7959 GB, free: 100 kB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.3335, allocations: 0 / 0.7959 GB, free: 100 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.3584, allocations: 6.02 MB / 0.8018 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.04, allocations: 11.75 kB / 0.8018 GB, free: 10.24 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)