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.001255/0.001255, 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.001366/0.001365, allocations: 197.6 kB / 16.54 MB, free: 6.672 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.787/1.787, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.762/1.762, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.002394/0.002395, allocations: 73.5 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3103, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003616/0.314, allocations: 1.737 MB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3156, allocations: 0.9416 MB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3158, allocations: 3.938 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.316, allocations: 31.72 kB / 0.7861 GB, free: 10.65 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.0004408/0.3165, allocations: 115.4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.3169, allocations: 154.9 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.3172, allocations: 239.4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.3173, allocations: 41.66 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3175, allocations: 107.7 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.3177, allocations: 131.5 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.3177, allocations: 16 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.318, allocations: 111.9 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.3181, allocations: 47.83 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3182, allocations: 95.5 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.3186, allocations: 291.5 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3186, allocations: 0 / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3186, allocations: 0 / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3186, 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.0009474/0.3196, allocations: 0.5761 MB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3196, allocations: 12.03 kB / 0.788 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3197, allocations: 38.75 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.3198, allocations: 24.73 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3201, allocations: 243.3 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3201, allocations: 11.98 kB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.3201, allocations: 15.94 kB / 0.7883 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3203, allocations: 119.2 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3204, allocations: 3.938 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3204, allocations: 3.984 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3204, allocations: 8 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3205, allocations: 51.97 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008409/0.3214, allocations: 0.5512 MB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.3215, allocations: 93.08 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.062e-05/0.3216, allocations: 37.77 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3216, allocations: 3.938 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.3219, allocations: 129.2 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.3219, allocations: 0 / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003985/0.3223, allocations: 153.6 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.3224, allocations: 85.11 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.3226, allocations: 202.4 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.3226, allocations: 37.83 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.3227, allocations: 124.5 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3227, allocations: 35.55 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.3228, allocations: 53.69 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3229, allocations: 330.8 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.323, allocations: 35.98 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.3233, allocations: 137.3 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3234, allocations: 117.9 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3235, allocations: 4 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002607/0.3237, allocations: 157 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3237, allocations: 8 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3238, allocations: 0 / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3238, allocations: 4 kB / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3239, allocations: 19.92 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3239, allocations: 3.938 kB / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.3241, allocations: 35.98 kB / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3242, allocations: 4 kB / 0.7907 GB, free: 5.57 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.0001414/0.3243, allocations: 143.5 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.3244, allocations: 15.81 kB / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.3244, allocations: 21.52 kB / 0.7909 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3244, allocations: 4 kB / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3244, allocations: 0 / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3245, allocations: 0 / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.3251, allocations: 470.3 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3251, allocations: 0 / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.3251, allocations: 7.984 kB / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3252, allocations: 0 / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3252, allocations: 19.81 kB / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3252, allocations: 0 / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3252, allocations: 0 / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3254, allocations: 232 kB / 0.7916 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3255, allocations: 96.92 kB / 0.7917 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.3255, allocations: 7.922 kB / 0.7917 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3257, allocations: 15.98 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3257, allocations: 15.98 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.3258, allocations: 11.98 kB / 0.7918 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001472/0.3259, allocations: 144.2 kB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3259, allocations: 0 / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003575/0.3263, allocations: 75.94 kB / 0.792 GB, free: 4.211 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.001022/0.3273, allocations: 0.8995 MB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.3276, allocations: 107.7 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3276, allocations: 4 kB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/0.3277, allocations: 47.92 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.3282, allocations: 63.91 kB / 0.7931 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3303, allocations: 1.923 MB / 0.7949 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3306, allocations: 0.728 MB / 0.7957 GB, free: 324 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.397e-05/0.3307, allocations: 25.53 kB / 0.7957 GB, free: 300 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.3308, allocations: 55.41 kB / 0.7957 GB, free: 244 kB / 0.6075 GB Notification: Performance of SimCode: time 1.764e-06/0.3308, allocations: 0 / 0.7957 GB, free: 244 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.3539, allocations: 6.003 MB / 0.8016 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.543, allocations: 10.27 kB / 0.8016 GB, free: 10.38 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)