Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 177.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 0.7949 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 100.2 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 7.219 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3458, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.5544, allocations: 153.2 MB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.5548, allocations: 75.97 kB / 1.373 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03361/0.5884, allocations: 12.46 MB / 1.385 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5884, allocations: 0 / 1.385 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.5885, allocations: 7.938 kB / 1.385 GB, free: 12.32 MB / 0.8855 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.0008541/0.5893, allocations: 0.5453 MB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5894, allocations: 12.03 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.5895, allocations: 23.72 kB / 1.385 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/0.59, allocations: 258.6 kB / 1.386 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.59, allocations: 8 kB / 1.386 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.5901, allocations: 19.95 kB / 1.386 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.5903, allocations: 107.4 kB / 1.386 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.5903, allocations: 0 / 1.386 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.5903, allocations: 4 kB / 1.386 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5904, allocations: 8 kB / 1.386 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.5905, allocations: 55.91 kB / 1.386 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009112/0.5914, allocations: 0.5435 MB / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.5916, allocations: 89.14 kB / 1.386 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.5916, allocations: 4.062 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.5918, allocations: 125.2 kB / 1.386 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.5919, allocations: 0 / 1.386 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003551/0.5922, allocations: 161.4 kB / 1.387 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.5923, allocations: 81.11 kB / 1.387 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.5925, allocations: 173.8 kB / 1.387 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.5925, allocations: 37.7 kB / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.5926, allocations: 140.2 kB / 1.387 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.5926, allocations: 31.61 kB / 1.387 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.5927, allocations: 4 kB / 1.387 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5928, allocations: 326.8 kB / 1.387 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.5929, allocations: 28.36 kB / 1.387 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.5931, allocations: 139.2 kB / 1.388 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.5932, allocations: 44.61 kB / 1.388 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5932, allocations: 4 kB / 1.388 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002355/0.5934, allocations: 149.4 kB / 1.388 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5935, allocations: 12.88 kB / 1.388 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5935, allocations: 0 / 1.388 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.5935, allocations: 7.953 kB / 1.388 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.5936, allocations: 15.98 kB / 1.388 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5936, allocations: 4 kB / 1.388 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.5939, allocations: 32.17 kB / 1.388 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5939, allocations: 7.938 kB / 1.388 GB, free: 8.859 MB / 0.8855 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.0001393/0.594, allocations: 143.6 kB / 1.388 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.5941, allocations: 19.72 kB / 1.388 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.5941, allocations: 21.52 kB / 1.388 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5941, allocations: 0 / 1.388 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5941, allocations: 3.953 kB / 1.388 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5941, allocations: 4 kB / 1.388 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.5948, allocations: 470.3 kB / 1.388 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5948, allocations: 0 / 1.388 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.5948, allocations: 11.92 kB / 1.388 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.5948, allocations: 3.953 kB / 1.388 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.5948, allocations: 12 kB / 1.388 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5948, allocations: 0 / 1.388 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5949, allocations: 0 / 1.388 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.5951, allocations: 244.3 kB / 1.389 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.5952, allocations: 92.88 kB / 1.389 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.5952, allocations: 15.92 kB / 1.389 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5953, allocations: 19.98 kB / 1.389 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.5954, allocations: 23.91 kB / 1.389 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.5955, allocations: 4 kB / 1.389 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001092/0.5956, allocations: 143 kB / 1.389 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5956, allocations: 0 / 1.389 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003139/0.5959, allocations: 43.98 kB / 1.389 GB, free: 7.504 MB / 0.8855 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.0003859/0.5963, allocations: 188.3 kB / 1.389 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.5965, allocations: 99.83 kB / 1.389 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5965, allocations: 4 kB / 1.389 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-05/0.5966, allocations: 47.92 kB / 1.389 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.597, allocations: 47.73 kB / 1.389 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.5976, allocations: 339.7 kB / 1.39 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.5979, allocations: 0.7247 MB / 1.39 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.598, allocations: 25.53 kB / 1.39 GB, free: 6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.598, allocations: 15.44 kB / 1.39 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/0.598, allocations: 11.94 kB / 1.39 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of Templates: time 0.007045/0.6051, allocations: 3.257 MB / 1.394 GB, free: 2.742 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)