Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 196.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 222.4 MB, free: 4.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.7 MB / 0.5092 GB, free: 3.148 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.91 kB / 0.6223 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3786, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002621/0.3813, allocations: 1.735 MB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3826, allocations: 0.9441 MB / 0.7271 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.3827, allocations: 3.938 kB / 0.7271 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3829, allocations: 23.73 kB / 0.7271 GB, free: 10.22 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.3832, allocations: 119.4 kB / 0.7273 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3835, allocations: 159.7 kB / 0.7274 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.3837, allocations: 235.4 kB / 0.7276 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3838, allocations: 29.67 kB / 0.7277 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.384, allocations: 119.6 kB / 0.7278 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3842, allocations: 123.6 kB / 0.7279 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.3842, allocations: 23.94 kB / 0.7279 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3844, allocations: 111.9 kB / 0.728 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3844, allocations: 39.84 kB / 0.7281 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.3845, allocations: 91.56 kB / 0.7282 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3849, allocations: 289.1 kB / 0.7284 GB, free: 8.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3849, allocations: 0 / 0.7284 GB, free: 8.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3849, allocations: 0 / 0.7284 GB, free: 8.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3849, allocations: 0 / 0.7284 GB, free: 8.91 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007246/0.3856, allocations: 0.5722 MB / 0.729 GB, free: 8.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.3856, allocations: 8.031 kB / 0.729 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.3857, allocations: 20.75 kB / 0.729 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.386, allocations: 259.4 kB / 0.7293 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.386, allocations: 4 kB / 0.7293 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.386, allocations: 16 kB / 0.7293 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3862, allocations: 104.8 kB / 0.7294 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.3862, allocations: 0 / 0.7294 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3862, allocations: 4 kB / 0.7294 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3862, allocations: 4 kB / 0.7294 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3863, allocations: 51.97 kB / 0.7294 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006748/0.387, allocations: 464.4 kB / 0.7299 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.3874, allocations: 134.7 kB / 0.73 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.3875, allocations: 36.84 kB / 0.73 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.3875, allocations: 7.938 kB / 0.7301 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3877, allocations: 115.1 kB / 0.7302 GB, free: 6.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.3877, allocations: 0 / 0.7302 GB, free: 6.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0003018/0.388, allocations: 164.8 kB / 0.7303 GB, free: 6.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.3881, allocations: 59.39 kB / 0.7304 GB, free: 6.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3882, allocations: 194.5 kB / 0.7306 GB, free: 6.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3883, allocations: 37.64 kB / 0.7306 GB, free: 6.477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.3884, allocations: 128.5 kB / 0.7307 GB, free: 6.348 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3884, allocations: 43.48 kB / 0.7308 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.3885, allocations: 57.67 kB / 0.7308 GB, free: 6.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3886, allocations: 322.8 kB / 0.7311 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.3886, allocations: 35.98 kB / 0.7312 GB, free: 5.883 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3889, allocations: 131.6 kB / 0.7313 GB, free: 5.727 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.389, allocations: 102.2 kB / 0.7314 GB, free: 5.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.389, allocations: 0 / 0.7314 GB, free: 5.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002204/0.3892, allocations: 157.9 kB / 0.7315 GB, free: 5.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3892, allocations: 14.28 kB / 0.7315 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3893, allocations: 0 / 0.7315 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3893, allocations: 4 kB / 0.7316 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.3893, allocations: 19.92 kB / 0.7316 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.3894, allocations: 0 / 0.7316 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.3896, allocations: 27.83 kB / 0.7316 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3896, allocations: 4 kB / 0.7316 GB, free: 5.387 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001181/0.3897, allocations: 147.6 kB / 0.7317 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3897, allocations: 15.81 kB / 0.7318 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.3898, allocations: 21.81 kB / 0.7318 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3898, allocations: 48 / 0.7318 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3898, allocations: 3.984 kB / 0.7318 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3898, allocations: 3.984 kB / 0.7318 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.3904, allocations: 498.1 kB / 0.7323 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3904, allocations: 0 / 0.7323 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.3904, allocations: 7.984 kB / 0.7323 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3904, allocations: 0 / 0.7323 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3904, allocations: 4 kB / 0.7323 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3904, allocations: 3.938 kB / 0.7323 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3904, allocations: 0 / 0.7323 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.3907, allocations: 239.1 kB / 0.7325 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3907, allocations: 89.02 kB / 0.7326 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3907, allocations: 4 kB / 0.7326 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3909, allocations: 19.92 kB / 0.7326 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.3909, allocations: 19.97 kB / 0.7326 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.391, allocations: 11.98 kB / 0.7326 GB, free: 4.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001023/0.3911, allocations: 136.5 kB / 0.7328 GB, free: 4.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3911, allocations: 0 / 0.7328 GB, free: 4.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003167/0.3914, allocations: 75.83 kB / 0.7328 GB, free: 4.016 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003897/0.3918, allocations: 231.3 kB / 0.7331 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.392, allocations: 115.6 kB / 0.7332 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.392, allocations: 0 / 0.7332 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.3921, allocations: 51.92 kB / 0.7332 GB, free: 3.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3925, allocations: 60.08 kB / 0.7333 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.3931, allocations: 311.2 kB / 0.7336 GB, free: 3.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3933, allocations: 0.7242 MB / 0.7343 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.109e-05/0.3934, allocations: 33.53 kB / 0.7343 GB, free: 2.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.3934, allocations: 23.44 kB / 0.7343 GB, free: 2.457 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.3935, allocations: 0 / 0.7343 GB, free: 2.457 MB / 0.545 GB Notification: Performance of Templates: time 0.007089/0.4005, allocations: 4.208 MB / 0.7384 GB, free: 14.29 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)