Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001957/0.001957, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.41 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3329, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003096/0.3361, allocations: 1.901 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3376, allocations: 0.9358 MB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.3377, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.3379, allocations: 19.86 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.3382, allocations: 99.59 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.3386, allocations: 151.3 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.3389, allocations: 239.3 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3391, allocations: 53.62 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3392, allocations: 111.6 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0269/0.3661, allocations: 1.966 MB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.552e-05/0.3662, allocations: 20 kB / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.3664, allocations: 39.94 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.3664, allocations: 39.84 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3666, allocations: 95.55 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.3669, allocations: 207.4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3669, allocations: 4 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3669, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3669, allocations: 0 / 1.073 GB, free: 5.465 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.0008133/0.3677, allocations: 0.5584 MB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3678, allocations: 12.03 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.3679, allocations: 20.66 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3681, allocations: 243.5 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3681, allocations: 12 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.3682, allocations: 12 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3684, allocations: 123.2 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3684, allocations: 0 / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3684, allocations: 8 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3685, allocations: 3.984 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3686, allocations: 59.91 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.3694, allocations: 0.5318 MB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3696, allocations: 97.06 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.3697, allocations: 37.78 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3697, allocations: 4 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.3699, allocations: 139.9 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3699, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003395/0.3703, allocations: 159.7 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3703, allocations: 85.22 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3705, allocations: 208.3 kB / 1.076 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.3706, allocations: 33.7 kB / 1.076 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3707, allocations: 120.5 kB / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.3707, allocations: 31.55 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.3708, allocations: 61.67 kB / 1.076 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3709, allocations: 326.8 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.371, allocations: 31.98 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3712, allocations: 145.3 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3714, allocations: 113.9 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3714, allocations: 0 / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002488/0.3717, allocations: 153.4 kB / 1.077 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3717, allocations: 8 kB / 1.077 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3717, allocations: 3.984 kB / 1.077 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3717, allocations: 4.156 kB / 1.077 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.3718, allocations: 19.94 kB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3718, allocations: 0 / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3721, allocations: 35.81 kB / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3721, allocations: 4 kB / 1.077 GB, free: 1.781 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.0001316/0.3722, allocations: 139.5 kB / 1.077 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.3722, allocations: 15.81 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.3723, allocations: 21.52 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3723, allocations: 8 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3723, allocations: 0 / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3723, allocations: 0 / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.3729, allocations: 469.3 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3729, allocations: 0 / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.3729, allocations: 8 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3729, allocations: 96 / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.373, allocations: 4 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.373, allocations: 11.88 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.373, allocations: 7.984 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3732, allocations: 232 kB / 1.078 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.3733, allocations: 92.86 kB / 1.078 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3733, allocations: 7.984 kB / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3735, allocations: 23.92 kB / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.3735, allocations: 15.98 kB / 1.078 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3736, allocations: 7.984 kB / 1.078 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001175/0.3737, allocations: 147.2 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3737, allocations: 0 / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003191/0.374, allocations: 44 kB / 1.078 GB, free: 456 kB / 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.0003064/0.3743, allocations: 161.3 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3746, allocations: 120 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.3746, allocations: 4.062 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.3747, allocations: 43.92 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3751, allocations: 65.34 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.3757, allocations: 336.6 kB / 1.079 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.376, allocations: 0.7242 MB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.3761, allocations: 21.53 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.3761, allocations: 31.42 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3761, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.006986/0.3831, allocations: 3.538 MB / 1.083 GB, free: 11.42 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)