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.001723/0.001724, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001783, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.658/1.658, allocations: 205.1 MB / 222 MB, free: 5.016 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.716/1.716, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001864/0.001865, allocations: 62.47 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2442, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003051/0.2473, allocations: 1.901 MB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2487, allocations: 0.9913 MB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.2488, allocations: 3.938 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.249, allocations: 15.86 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.2492, allocations: 91.66 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2496, allocations: 146.6 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.2498, allocations: 223.4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2499, allocations: 41.66 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.25, allocations: 111.6 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02567/0.2757, allocations: 1.811 MB / 0.788 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.783e-05/0.2758, allocations: 8 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.2759, allocations: 31.97 kB / 0.788 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.276, allocations: 39.78 kB / 0.7881 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.2761, allocations: 87.56 kB / 0.7881 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.2764, allocations: 203.3 kB / 0.7883 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2764, allocations: 7.938 kB / 0.7883 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2764, allocations: 0 / 0.7883 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.2764, allocations: 3.938 kB / 0.7883 GB, free: 8.633 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.0007776/0.2772, allocations: 0.5527 MB / 0.7889 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2772, allocations: 12.03 kB / 0.7889 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.2773, allocations: 38.75 kB / 0.7889 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.2774, allocations: 16.75 kB / 0.789 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2776, allocations: 247.2 kB / 0.7892 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2777, allocations: 12 kB / 0.7892 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.2777, allocations: 16 kB / 0.7892 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.2779, allocations: 111.2 kB / 0.7893 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2779, allocations: 4 kB / 0.7893 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2779, allocations: 4 kB / 0.7893 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2779, allocations: 4 kB / 0.7893 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.278, allocations: 55.97 kB / 0.7894 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.2788, allocations: 0.5434 MB / 0.7899 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.279, allocations: 97.25 kB / 0.79 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.2791, allocations: 45.77 kB / 0.7901 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2791, allocations: 7.938 kB / 0.7901 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.2793, allocations: 117.1 kB / 0.7902 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.2793, allocations: 0 / 0.7902 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003181/0.2796, allocations: 157.6 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.2797, allocations: 85.05 kB / 0.7904 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.2799, allocations: 206.4 kB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.2799, allocations: 37.83 kB / 0.7906 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.28, allocations: 132.4 kB / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.28, allocations: 23.62 kB / 0.7908 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.2801, allocations: 61.67 kB / 0.7908 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.2802, allocations: 326.8 kB / 0.7912 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.2803, allocations: 31.98 kB / 0.7912 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.2805, allocations: 139 kB / 0.7913 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2807, allocations: 125.4 kB / 0.7914 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2807, allocations: 0 / 0.7914 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000232/0.2809, allocations: 157.3 kB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2809, allocations: 8 kB / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2809, allocations: 0 / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.281, allocations: 4 kB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.281, allocations: 15.94 kB / 0.7916 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2811, allocations: 4 kB / 0.7916 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.2813, allocations: 35.97 kB / 0.7917 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2813, allocations: 7.938 kB / 0.7917 GB, free: 4.902 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.0001104/0.2814, allocations: 139.5 kB / 0.7918 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.2815, allocations: 23.72 kB / 0.7918 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.2815, allocations: 21.52 kB / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2815, allocations: 0 / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2815, allocations: 0 / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2815, allocations: 4 kB / 0.7918 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.2821, allocations: 470.2 kB / 0.7923 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2821, allocations: 0 / 0.7923 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.2821, allocations: 7.938 kB / 0.7923 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2821, allocations: 4 kB / 0.7923 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2821, allocations: 11.92 kB / 0.7923 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2821, allocations: 0 / 0.7923 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2821, allocations: 0 / 0.7923 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.2824, allocations: 235.6 kB / 0.7925 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.2824, allocations: 96.91 kB / 0.7926 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.2825, allocations: 3.938 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2826, allocations: 15.98 kB / 0.7926 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.2827, allocations: 19.97 kB / 0.7927 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.2827, allocations: 12 kB / 0.7927 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001085/0.2828, allocations: 144.2 kB / 0.7928 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2828, allocations: 0 / 0.7928 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002978/0.2831, allocations: 47.98 kB / 0.7929 GB, free: 3.57 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.0006538/0.2838, allocations: 0.8284 MB / 0.7937 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.284, allocations: 99.84 kB / 0.7938 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.284, allocations: 0 / 0.7938 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.2841, allocations: 55.91 kB / 0.7938 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.2845, allocations: 43.2 kB / 0.7939 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.2865, allocations: 1.961 MB / 0.7958 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.2868, allocations: 0.7245 MB / 0.7965 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.208e-05/0.2869, allocations: 25.53 kB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.287, allocations: 59.41 kB / 0.7966 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.287, allocations: 0 / 0.7966 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.3026, allocations: 5.14 MB / 0.8016 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.3028, allocations: 281.6 kB / 0.8019 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.11, allocations: 0.875 kB / 0.8019 GB, free: 10.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)