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.001129/0.001129, 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.001361/0.001361, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.722/1.722, allocations: 205.1 MB / 222.4 MB, free: 4.438 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.782/1.782, 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.001574/0.001575, allocations: 72.56 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2938, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003873/0.2978, allocations: 1.73 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2997, allocations: 0.9455 MB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.2998, allocations: 0 / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.3001, allocations: 27.73 kB / 0.7861 GB, free: 10.66 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.0005171/0.3007, allocations: 123.4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.3012, allocations: 148.7 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3015, allocations: 243.3 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3017, allocations: 41.66 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3018, allocations: 107.7 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.3021, allocations: 135.5 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.3021, allocations: 16 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.3024, allocations: 111.9 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.3025, allocations: 55.7 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3026, allocations: 87.56 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.303, allocations: 291.5 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.303, allocations: 0 / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.734e-06/0.303, allocations: 0 / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.3031, allocations: 0 / 0.7874 GB, free: 9.332 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.001026/0.3041, allocations: 0.5761 MB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.3041, allocations: 8.031 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.3042, allocations: 42.73 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.3043, allocations: 20.75 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.3046, allocations: 255.2 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3047, allocations: 4 kB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.3047, allocations: 23.94 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3049, allocations: 115.3 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.305, allocations: 0 / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.305, allocations: 0 / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.305, allocations: 4 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3051, allocations: 55.91 kB / 0.7885 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.306, allocations: 0.5435 MB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3062, allocations: 97.08 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.875e-05/0.3063, allocations: 37.77 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3063, allocations: 3.938 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.3067, allocations: 133.2 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 8.256e-06/0.3067, allocations: 4 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000409/0.3071, allocations: 155.2 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.3072, allocations: 85.11 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3074, allocations: 202.4 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.3075, allocations: 33.7 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.3076, allocations: 120.5 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3076, allocations: 35.55 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3077, allocations: 61.66 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3079, allocations: 331 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.308, allocations: 35.98 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.3082, allocations: 137.3 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.3084, allocations: 117.3 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3084, allocations: 0 / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002613/0.3087, allocations: 157.5 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3087, allocations: 8 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3087, allocations: 3.984 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3087, allocations: 8.031 kB / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3089, allocations: 19.92 kB / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3089, allocations: 3.938 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3091, allocations: 27.83 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3091, allocations: 11.98 kB / 0.7908 GB, free: 5.566 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.0001259/0.3093, allocations: 143.5 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.3093, allocations: 15.81 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.3094, allocations: 21.52 kB / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3094, allocations: 4 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3094, allocations: 0 / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3094, allocations: 0 / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.3101, allocations: 466.2 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3101, allocations: 4 kB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.3101, allocations: 7.938 kB / 0.7914 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3101, allocations: 0 / 0.7914 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3102, allocations: 11.94 kB / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3102, allocations: 3.984 kB / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3102, allocations: 0 / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3104, allocations: 231.3 kB / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3105, allocations: 96.91 kB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3105, allocations: 7.938 kB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3107, allocations: 15.98 kB / 0.7917 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.3107, allocations: 19.97 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3108, allocations: 8 kB / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001274/0.3109, allocations: 148.2 kB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3109, allocations: 0 / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004/0.3113, allocations: 79.92 kB / 0.792 GB, free: 4.207 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.0008474/0.3122, allocations: 0.8818 MB / 0.7928 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.3125, allocations: 108.1 kB / 0.7929 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3125, allocations: 4.062 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.3126, allocations: 51.92 kB / 0.793 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.3131, allocations: 64.81 kB / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3152, allocations: 1.943 MB / 0.795 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3155, allocations: 0.7242 MB / 0.7957 GB, free: 312 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.3156, allocations: 29.61 kB / 0.7957 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.3157, allocations: 55.41 kB / 0.7957 GB, free: 228 kB / 0.6075 GB Notification: Performance of SimCode: time 1.973e-06/0.3157, allocations: 4 kB / 0.7957 GB, free: 224 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.3423, allocations: 5.979 MB / 0.8016 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.54, allocations: 13.03 kB / 0.8016 GB, free: 10.38 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)