Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 180.5 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000953/0.000953, allocations: 93.52 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 12.12 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.284, allocations: 106.4 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.4567, allocations: 135.6 MB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.457, allocations: 79.95 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03334/0.4904, allocations: 12.36 MB / 1.045 GB, free: 11.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4904, allocations: 4 kB / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.4905, allocations: 8 kB / 1.045 GB, free: 11.89 MB / 0.698 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.0009962/0.4915, allocations: 0.5493 MB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.4915, allocations: 8.031 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.4916, allocations: 46.5 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.4917, allocations: 23.8 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.4923, allocations: 250.7 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.4923, allocations: 8 kB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.4924, allocations: 19.98 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.4926, allocations: 113.5 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4926, allocations: 4 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.4926, allocations: 4 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4927, allocations: 8 kB / 1.046 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.4928, allocations: 55.97 kB / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.4937, allocations: 0.5435 MB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4939, allocations: 97.06 kB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.494, allocations: 0 / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.4942, allocations: 123.2 kB / 1.047 GB, free: 9.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.4942, allocations: 4 kB / 1.047 GB, free: 9.836 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0003542/0.4946, allocations: 157.5 kB / 1.047 GB, free: 9.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4946, allocations: 81.05 kB / 1.047 GB, free: 9.578 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.4948, allocations: 189.5 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.4949, allocations: 41.62 kB / 1.047 GB, free: 9.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.495, allocations: 124.5 kB / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.495, allocations: 31.56 kB / 1.047 GB, free: 9.176 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.495, allocations: 4 kB / 1.047 GB, free: 9.172 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4952, allocations: 334.8 kB / 1.048 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.4953, allocations: 28.36 kB / 1.048 GB, free: 8.809 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.4955, allocations: 140.8 kB / 1.048 GB, free: 8.641 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.811e-05/0.4956, allocations: 35.94 kB / 1.048 GB, free: 8.605 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4956, allocations: 0 / 1.048 GB, free: 8.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002583/0.4959, allocations: 167.5 kB / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4959, allocations: 8 kB / 1.048 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4959, allocations: 0 / 1.048 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.496, allocations: 4 kB / 1.048 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4961, allocations: 19.89 kB / 1.048 GB, free: 8.406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4961, allocations: 0 / 1.048 GB, free: 8.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.4964, allocations: 40.03 kB / 1.048 GB, free: 8.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4964, allocations: 4 kB / 1.048 GB, free: 8.363 MB / 0.698 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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.4966, allocations: 135.5 kB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.4966, allocations: 19.81 kB / 1.048 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.4967, allocations: 21.52 kB / 1.048 GB, free: 8.184 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4967, allocations: 0 / 1.048 GB, free: 8.184 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.4967, allocations: 3.953 kB / 1.048 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4967, allocations: 4 kB / 1.048 GB, free: 8.176 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.4974, allocations: 474.2 kB / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4974, allocations: 0 / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.4974, allocations: 4 kB / 1.049 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.4974, allocations: 3.953 kB / 1.049 GB, free: 7.648 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4974, allocations: 8 kB / 1.049 GB, free: 7.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4974, allocations: 4 kB / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4974, allocations: 0 / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.4977, allocations: 237.8 kB / 1.049 GB, free: 7.379 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.4978, allocations: 96.86 kB / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.4978, allocations: 4 kB / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.498, allocations: 19.98 kB / 1.049 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.4981, allocations: 23.97 kB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4981, allocations: 11.94 kB / 1.049 GB, free: 7.207 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001211/0.4982, allocations: 139.2 kB / 1.049 GB, free: 7.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4982, allocations: 0 / 1.049 GB, free: 7.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003371/0.4986, allocations: 51.83 kB / 1.049 GB, free: 7.02 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007367/0.4993, allocations: 0.9171 MB / 1.05 GB, free: 6.086 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.4996, allocations: 107 kB / 1.05 GB, free: 5.984 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4996, allocations: 0 / 1.05 GB, free: 5.984 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.4997, allocations: 51.91 kB / 1.05 GB, free: 5.934 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5, allocations: 50.36 kB / 1.05 GB, free: 5.887 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.5013, allocations: 1.503 MB / 1.052 GB, free: 4.301 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.5016, allocations: 0.7261 MB / 1.052 GB, free: 3.551 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.209e-05/0.5017, allocations: 25.53 kB / 1.052 GB, free: 3.527 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.5018, allocations: 55.42 kB / 1.052 GB, free: 3.473 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.5018, allocations: 0 / 1.052 GB, free: 3.473 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4436/0.9454, allocations: 4.919 MB / 1.057 GB, free: 150.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.9457, allocations: 248.5 kB / 1.058 GB, free: 150.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.742, allocations: 0 / 1.058 GB, free: 150.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)