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.001396/0.001396, 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.001532/0.001532, allocations: 196.5 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.674/1.674, allocations: 205.1 MB / 222 MB, free: 4.773 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.684/1.684, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.00137/0.001371, allocations: 68.59 kB / 0.6709 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2384, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003383/0.2418, allocations: 1.893 MB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2434, allocations: 0.9874 MB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.2435, allocations: 4 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.2437, allocations: 19.86 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.2439, allocations: 95.58 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.2442, allocations: 131.8 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.2445, allocations: 235.4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2446, allocations: 37.95 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2447, allocations: 103.6 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02611/0.2708, allocations: 1.851 MB / 0.788 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.271, allocations: 12 kB / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.2711, allocations: 31.97 kB / 0.7881 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.2712, allocations: 35.84 kB / 0.7881 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2713, allocations: 87.55 kB / 0.7882 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.2716, allocations: 195.3 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2716, allocations: 0 / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.02e-07/0.2716, allocations: 4 kB / 0.7884 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2716, allocations: 4 kB / 0.7884 GB, free: 8.629 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.0007764/0.2724, allocations: 0.5565 MB / 0.7889 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2724, allocations: 8.031 kB / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.2725, allocations: 38.75 kB / 0.789 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.2725, allocations: 24.75 kB / 0.789 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.2728, allocations: 243.2 kB / 0.7892 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2728, allocations: 12 kB / 0.7892 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.2729, allocations: 16 kB / 0.7892 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2731, allocations: 93.59 kB / 0.7893 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2731, allocations: 0 / 0.7893 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2731, allocations: 4 kB / 0.7893 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2731, allocations: 0 / 0.7893 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2732, allocations: 55.95 kB / 0.7894 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.2739, allocations: 472.3 kB / 0.7898 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2744, allocations: 138.7 kB / 0.79 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.2745, allocations: 40.84 kB / 0.79 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.2745, allocations: 0 / 0.79 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.2747, allocations: 110.3 kB / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2747, allocations: 0 / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.000337/0.275, allocations: 173.2 kB / 0.7903 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2751, allocations: 55.41 kB / 0.7903 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.2752, allocations: 194.6 kB / 0.7905 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.2753, allocations: 33.7 kB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2754, allocations: 128.4 kB / 0.7907 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.2754, allocations: 35.55 kB / 0.7907 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.2755, allocations: 57.67 kB / 0.7908 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2756, allocations: 326.8 kB / 0.7911 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.2757, allocations: 39.98 kB / 0.7911 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.2759, allocations: 125.3 kB / 0.7912 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2761, allocations: 110.8 kB / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2761, allocations: 0 / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002584/0.2764, allocations: 153.3 kB / 0.7915 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2764, allocations: 4 kB / 0.7915 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2764, allocations: 4 kB / 0.7915 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2764, allocations: 0 / 0.7915 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.2765, allocations: 23.92 kB / 0.7915 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2765, allocations: 4.125 kB / 0.7915 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.2768, allocations: 31.83 kB / 0.7915 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2768, allocations: 4 kB / 0.7915 GB, free: 5.082 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.0001375/0.2769, allocations: 140.1 kB / 0.7917 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.277, allocations: 19.8 kB / 0.7917 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.277, allocations: 17.88 kB / 0.7917 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.277, allocations: 4 kB / 0.7917 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.277, allocations: 0 / 0.7917 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.277, allocations: 4 kB / 0.7917 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.2777, allocations: 494.1 kB / 0.7922 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2777, allocations: 0 / 0.7922 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.2778, allocations: 4 kB / 0.7922 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2778, allocations: 4 kB / 0.7922 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2778, allocations: 3.938 kB / 0.7922 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.2778, allocations: 7.984 kB / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2778, allocations: 0 / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.278, allocations: 230.3 kB / 0.7924 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.2781, allocations: 96.94 kB / 0.7925 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2781, allocations: 15.94 kB / 0.7925 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2783, allocations: 7.984 kB / 0.7925 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.2784, allocations: 27.91 kB / 0.7926 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.2784, allocations: 8 kB / 0.7926 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001258/0.2785, allocations: 148.2 kB / 0.7927 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2786, allocations: 4 kB / 0.7927 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003183/0.2789, allocations: 51.83 kB / 0.7928 GB, free: 3.723 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.0007876/0.2797, allocations: 0.8138 MB / 0.7936 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.2799, allocations: 107.1 kB / 0.7937 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2799, allocations: 4.25 kB / 0.7937 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.984e-05/0.28, allocations: 51.92 kB / 0.7937 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.2805, allocations: 54.75 kB / 0.7938 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2827, allocations: 1.92 MB / 0.7957 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.283, allocations: 0.7206 MB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.48e-05/0.2831, allocations: 37.45 kB / 0.7964 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.2832, allocations: 51.42 kB / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2832, allocations: 0 / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2994, allocations: 5.182 MB / 0.8015 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.2997, allocations: 272.4 kB / 0.8018 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.123, allocations: 7.234 kB / 0.8018 GB, free: 10.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)