Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001021/0.001021, allocations: 192.7 kB / 16.13 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.72/2.72, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.5 kB / 0.9113 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003292/0.3557, allocations: 1.886 MB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3573, allocations: 0.9513 MB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.3573, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.3575, allocations: 27.8 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.3578, allocations: 87.66 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.3581, allocations: 143.8 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.3584, allocations: 219.4 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3585, allocations: 45.64 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3587, allocations: 107.6 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02165/0.3803, allocations: 1.529 MB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.904e-05/0.3805, allocations: 12 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3806, allocations: 28 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.3807, allocations: 35.84 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3809, allocations: 91.48 kB / 1.073 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.3811, allocations: 199.4 kB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3812, allocations: 0 / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3812, allocations: 0 / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3812, allocations: 0 / 1.073 GB, free: 5.926 MB / 0.8262 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.000869/0.382, allocations: 0.5527 MB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3821, allocations: 12.03 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.3822, allocations: 24.66 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3825, allocations: 243.5 kB / 1.074 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3825, allocations: 12 kB / 1.074 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.3825, allocations: 16 kB / 1.074 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3827, allocations: 115.3 kB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3828, allocations: 4 kB / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3828, allocations: 0 / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3828, allocations: 0 / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3829, allocations: 59.91 kB / 1.074 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.3838, allocations: 0.5396 MB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.384, allocations: 93.12 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.384, allocations: 37.78 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3841, allocations: 12.11 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.3843, allocations: 131.4 kB / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.3843, allocations: 0 / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003565/0.3847, allocations: 161.2 kB / 1.075 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3847, allocations: 89.23 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.385, allocations: 204.3 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.385, allocations: 33.7 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.3851, allocations: 116.5 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.3852, allocations: 39.53 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.3853, allocations: 57.67 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3854, allocations: 326.8 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.3855, allocations: 35.98 kB / 1.076 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3857, allocations: 142.6 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3859, allocations: 113.9 kB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3859, allocations: 0 / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002562/0.3862, allocations: 161.3 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3862, allocations: 8 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3862, allocations: 4.141 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3862, allocations: 8 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.3863, allocations: 16.09 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3863, allocations: 7.938 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3866, allocations: 27.83 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3866, allocations: 11.97 kB / 1.076 GB, free: 2.234 MB / 0.8262 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.000126/0.3867, allocations: 135.5 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.3868, allocations: 19.81 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.3868, allocations: 25.52 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3868, allocations: 0 / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3868, allocations: 0 / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3868, allocations: 7.938 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.3874, allocations: 458.2 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3874, allocations: 0 / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.3875, allocations: 7.938 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3875, allocations: 8 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3875, allocations: 0 / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3875, allocations: 3.938 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3875, allocations: 0 / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.3877, allocations: 230 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.3878, allocations: 104.7 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3878, allocations: 7.984 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.388, allocations: 19.92 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.3881, allocations: 19.97 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3881, allocations: 4 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001243/0.3882, allocations: 143.2 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3883, allocations: 0 / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003219/0.3886, allocations: 48 kB / 1.077 GB, free: 0.9102 MB / 0.8262 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.0003613/0.3889, allocations: 166 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3892, allocations: 110.9 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3892, allocations: 3.938 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3893, allocations: 55.91 kB / 1.078 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.3898, allocations: 49.47 kB / 1.078 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.3904, allocations: 350.3 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3908, allocations: 0.7206 MB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.517e-05/0.3908, allocations: 21.53 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.3909, allocations: 23.42 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3909, allocations: 0 / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.007462/0.3984, allocations: 3.436 MB / 1.082 GB, free: 11.98 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)