Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001292/0.001292, allocations: 108 kB / 15.61 MB, free: 152 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.001306/0.001306, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.745/1.745, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.772/1.772, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001561/0.001561, allocations: 64.42 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3007, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004276/0.3051, allocations: 1.738 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3069, allocations: 0.9455 MB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.307, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.3072, allocations: 31.72 kB / 0.7861 GB, free: 10.64 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.0004103/0.3077, allocations: 115.4 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3081, allocations: 155.6 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.3084, allocations: 239.4 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3086, allocations: 33.95 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.3087, allocations: 107.7 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.309, allocations: 135.5 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.309, allocations: 16 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.3092, allocations: 107.9 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.3093, allocations: 43.83 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3095, allocations: 91.56 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.31, allocations: 291.2 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.31, allocations: 4 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.31, allocations: 0 / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.31, allocations: 4 kB / 0.7874 GB, free: 9.328 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.0009901/0.311, allocations: 0.5683 MB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.311, allocations: 12.03 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.3111, allocations: 38.75 kB / 0.788 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.3112, allocations: 24.73 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3115, allocations: 247.2 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3115, allocations: 8 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.3116, allocations: 15.98 kB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3118, allocations: 96.19 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3118, allocations: 3.984 kB / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3119, allocations: 4 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3119, allocations: 7.938 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.312, allocations: 51.91 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.3129, allocations: 464.4 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.3133, allocations: 138.7 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.333e-05/0.3134, allocations: 40.78 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3135, allocations: 4 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.3137, allocations: 106.4 kB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3137, allocations: 4 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003676/0.3141, allocations: 173.2 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3142, allocations: 55.41 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3144, allocations: 194.6 kB / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.3145, allocations: 33.7 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3146, allocations: 132.4 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.3146, allocations: 23.62 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3147, allocations: 61.67 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3149, allocations: 334.8 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.3149, allocations: 27.98 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3152, allocations: 130 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3153, allocations: 110.8 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3153, allocations: 0 / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002369/0.3156, allocations: 149.3 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3156, allocations: 4 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3156, allocations: 7.984 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3156, allocations: 8.125 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.3157, allocations: 15.94 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3157, allocations: 0 / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3159, allocations: 27.83 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.316, allocations: 8 kB / 0.7906 GB, free: 5.77 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.000129/0.3161, allocations: 143.5 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3161, allocations: 15.81 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.3162, allocations: 21.86 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3162, allocations: 4 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3162, allocations: 4 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3162, allocations: 0 / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/0.3169, allocations: 498.1 kB / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3169, allocations: 11.92 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.3169, allocations: 0 / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3169, allocations: 11.94 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.317, allocations: 3.938 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.317, allocations: 3.938 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.317, allocations: 0 / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3172, allocations: 230.1 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.3173, allocations: 92.86 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3173, allocations: 7.938 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3175, allocations: 19.97 kB / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.3176, allocations: 19.98 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3176, allocations: 7.984 kB / 0.7916 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001587/0.3177, allocations: 148.2 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3178, allocations: 0 / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004235/0.3182, allocations: 71.98 kB / 0.7918 GB, free: 4.383 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.000994/0.3192, allocations: 0.8885 MB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.3195, allocations: 122.7 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3195, allocations: 0 / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.3196, allocations: 55.86 kB / 0.7929 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.32, allocations: 58.98 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3221, allocations: 1.888 MB / 0.7948 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3224, allocations: 0.7242 MB / 0.7955 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.755e-05/0.3225, allocations: 21.55 kB / 0.7955 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.3226, allocations: 55.41 kB / 0.7956 GB, free: 480 kB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3226, allocations: 0 / 0.7956 GB, free: 480 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.3461, allocations: 6.063 MB / 0.8015 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.583, allocations: 8 kB / 0.8015 GB, free: 10.56 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)