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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001241/0.001241, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.523/1.523, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 57.98 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.349, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003258/0.3523, allocations: 1.89 MB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.354, allocations: 0.9513 MB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.354, allocations: 8 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.3542, allocations: 23.84 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.3545, allocations: 87.59 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.3548, allocations: 142.9 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.3551, allocations: 227.4 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3552, allocations: 45.66 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3553, allocations: 99.61 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02612/0.3815, allocations: 1.824 MB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3816, allocations: 8 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.3817, allocations: 28 kB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.3818, allocations: 43.77 kB / 1.073 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.382, allocations: 83.56 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3823, allocations: 199.4 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3823, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.81e-07/0.3823, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3823, allocations: 4 kB / 1.073 GB, free: 5.668 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.0009878/0.3833, allocations: 0.5605 MB / 1.074 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3834, allocations: 8.031 kB / 1.074 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.3835, allocations: 24.66 kB / 1.074 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3839, allocations: 243.5 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3839, allocations: 4 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.3839, allocations: 20 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.3842, allocations: 121.1 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3842, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3842, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3842, allocations: 4 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3844, allocations: 55.95 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.3853, allocations: 0.5318 MB / 1.075 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.3855, allocations: 101.2 kB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.018e-05/0.3856, allocations: 45.7 kB / 1.075 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3856, allocations: 0 / 1.075 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3859, allocations: 131.7 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.3859, allocations: 3.938 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003718/0.3862, allocations: 162.8 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3863, allocations: 89.05 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3865, allocations: 200.3 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3866, allocations: 33.7 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.3867, allocations: 120.5 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.3867, allocations: 39.5 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3868, allocations: 57.66 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3869, allocations: 335 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.387, allocations: 31.98 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.3873, allocations: 135.4 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3874, allocations: 120.8 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3874, allocations: 0 / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002584/0.3877, allocations: 165.5 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3877, allocations: 8.031 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3877, allocations: 0 / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3878, allocations: 4 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.3879, allocations: 19.94 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3879, allocations: 4 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.3881, allocations: 31.81 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3881, allocations: 4 kB / 1.076 GB, free: 1.98 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.0001325/0.3883, allocations: 143.5 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.3883, allocations: 19.81 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.3884, allocations: 21.52 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3884, allocations: 0 / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3884, allocations: 4 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3884, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.389, allocations: 462.2 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.389, allocations: 4 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.389, allocations: 4 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3891, allocations: 0 / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3891, allocations: 3.984 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.3891, allocations: 7.938 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3891, allocations: 3.938 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.3893, allocations: 228 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3894, allocations: 104.8 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3894, allocations: 0 / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3896, allocations: 15.92 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.3897, allocations: 19.97 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.3897, allocations: 11.94 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001286/0.3898, allocations: 139.2 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3898, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003287/0.3902, allocations: 51.98 kB / 1.077 GB, free: 0.6523 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.000349/0.3905, allocations: 164.9 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3908, allocations: 107.8 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3908, allocations: 0 / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3909, allocations: 51.3 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.3913, allocations: 67.64 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.3919, allocations: 330.4 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3922, allocations: 0.7244 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.137e-05/0.3923, allocations: 21.53 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.3924, allocations: 23.44 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3924, allocations: 4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.008079/0.4005, allocations: 3.43 MB / 1.082 GB, free: 11.74 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)