Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.00114/0.00114, 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.001426/0.001427, allocations: 194.5 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.542/1.542, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.647/1.647, 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.001419/0.00142, allocations: 65.97 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2468, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003083/0.2499, allocations: 1.733 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2514, allocations: 0.9416 MB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.2514, allocations: 4 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2516, allocations: 27.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.0003205/0.2519, allocations: 115.4 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.2523, allocations: 154.8 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.2525, allocations: 243.4 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2526, allocations: 37.89 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.2527, allocations: 107.7 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.2529, allocations: 127.5 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.253, allocations: 16 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.2532, allocations: 115.9 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.2532, allocations: 43.83 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2533, allocations: 95.53 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.2537, allocations: 291.2 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2537, allocations: 0 / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2537, allocations: 0 / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2537, allocations: 0 / 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.000761/0.2545, allocations: 0.5761 MB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2545, allocations: 8.031 kB / 0.788 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.2545, allocations: 38.75 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.2546, allocations: 20.73 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2549, allocations: 251.2 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2549, allocations: 8 kB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.2549, allocations: 23.98 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2551, allocations: 93.55 kB / 0.7884 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2551, allocations: 0 / 0.7884 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2551, allocations: 4 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2552, allocations: 0 / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.2553, allocations: 55.91 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.256, allocations: 460.4 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.2564, allocations: 142.7 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.2565, allocations: 44.78 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.2565, allocations: 0 / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.2567, allocations: 107.2 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.2568, allocations: 0 / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003228/0.2571, allocations: 173.3 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2571, allocations: 63.39 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.2573, allocations: 190.6 kB / 0.7896 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.2574, allocations: 37.69 kB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.2574, allocations: 120.4 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.2575, allocations: 27.62 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.2576, allocations: 57.67 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2577, allocations: 330.8 kB / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.2577, allocations: 35.98 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.258, allocations: 127.6 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2581, allocations: 106.8 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2581, allocations: 0 / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002355/0.2584, allocations: 157.3 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2584, allocations: 4 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2584, allocations: 4 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2584, allocations: 3.984 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.2585, allocations: 12 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2585, allocations: 7.984 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.2587, allocations: 31.95 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2587, allocations: 4 kB / 0.7906 GB, free: 5.766 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.0001228/0.2589, allocations: 143.5 kB / 0.7907 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.2589, allocations: 15.81 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.259, allocations: 21.91 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.259, allocations: 7.984 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.259, allocations: 0 / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.259, allocations: 0 / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.2596, allocations: 0.4928 MB / 0.7912 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2596, allocations: 7.922 kB / 0.7912 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.2596, allocations: 11.88 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2597, allocations: 0 / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2597, allocations: 3.938 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2597, allocations: 4 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2597, allocations: 4 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2599, allocations: 223.3 kB / 0.7915 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.26, allocations: 96.86 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.26, allocations: 3.938 kB / 0.7916 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2601, allocations: 19.97 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.2602, allocations: 15.98 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2602, allocations: 11.98 kB / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2604, allocations: 148.2 kB / 0.7918 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2604, allocations: 0 / 0.7918 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003397/0.2607, allocations: 75.98 kB / 0.7918 GB, free: 4.375 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.0007968/0.2615, allocations: 0.8865 MB / 0.7927 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.2618, allocations: 115.7 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2618, allocations: 0 / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.2619, allocations: 59.84 kB / 0.7929 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.2623, allocations: 59.39 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.002085/0.2644, allocations: 1.916 MB / 0.7948 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.2647, allocations: 0.7242 MB / 0.7955 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.2648, allocations: 25.47 kB / 0.7955 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2649, allocations: 59.41 kB / 0.7956 GB, free: 440 kB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.2649, allocations: 0 / 0.7956 GB, free: 440 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2886, allocations: 6.052 MB / 0.8015 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.821, allocations: 0.9375 kB / 0.8015 GB, free: 10.53 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)