Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005653/0.005653, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001279/0.001278, allocations: 194.8 kB / 16.67 MB, free: 5.52 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.191/1.191, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.258/1.258, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.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.001401/0.001401, allocations: 71.83 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5162, allocations: 104.7 MB / 0.828 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.0029/0.5192, allocations: 1.728 MB / 0.8297 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.5208, allocations: 0.956 MB / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.521, allocations: 0 / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.5212, allocations: 35.72 kB / 0.8307 GB, free: 15.86 MB / 0.6387 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.0004905/0.5218, allocations: 119.4 kB / 0.8308 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.5222, allocations: 151.7 kB / 0.8309 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.5226, allocations: 247.3 kB / 0.8312 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.5227, allocations: 37.66 kB / 0.8312 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.5229, allocations: 103.7 kB / 0.8313 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.5232, allocations: 131.5 kB / 0.8314 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.5232, allocations: 20 kB / 0.8315 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.5235, allocations: 127.8 kB / 0.8316 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.5235, allocations: 43.83 kB / 0.8316 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.5237, allocations: 99.48 kB / 0.8317 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.5241, allocations: 286.8 kB / 0.832 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5241, allocations: 0 / 0.832 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5241, allocations: 0 / 0.832 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.5241, allocations: 4 kB / 0.832 GB, free: 14.52 MB / 0.6387 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.0008285/0.5249, allocations: 0.5705 MB / 0.8325 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.525, allocations: 8.031 kB / 0.8326 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.5251, allocations: 20.75 kB / 0.8326 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.5253, allocations: 247.5 kB / 0.8328 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5254, allocations: 12 kB / 0.8328 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.5254, allocations: 16 kB / 0.8328 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.5256, allocations: 97.58 kB / 0.8329 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5256, allocations: 0 / 0.8329 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5256, allocations: 0 / 0.8329 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5256, allocations: 7.938 kB / 0.8329 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.5258, allocations: 51.97 kB / 0.833 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.5266, allocations: 468.3 kB / 0.8334 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.527, allocations: 134.7 kB / 0.8336 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.527, allocations: 40.84 kB / 0.8336 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.5271, allocations: 3.938 kB / 0.8336 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.5273, allocations: 107.2 kB / 0.8337 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.5273, allocations: 4 kB / 0.8337 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0003325/0.5276, allocations: 164.5 kB / 0.8339 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.5277, allocations: 55.41 kB / 0.8339 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.5279, allocations: 202.2 kB / 0.8341 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.5279, allocations: 41.64 kB / 0.8342 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.528, allocations: 116.5 kB / 0.8343 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.528, allocations: 43.53 kB / 0.8343 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.5281, allocations: 53.67 kB / 0.8344 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5283, allocations: 326.8 kB / 0.8347 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.5283, allocations: 35.98 kB / 0.8347 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.5286, allocations: 130.8 kB / 0.8348 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.5287, allocations: 100.2 kB / 0.8349 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5287, allocations: 4 kB / 0.8349 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002346/0.529, allocations: 164.5 kB / 0.8351 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.529, allocations: 8 kB / 0.8351 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.529, allocations: 0 / 0.8351 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.529, allocations: 4 kB / 0.8351 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.5291, allocations: 19.92 kB / 0.8351 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5291, allocations: 0 / 0.8351 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5293, allocations: 27.83 kB / 0.8351 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5293, allocations: 4.125 kB / 0.8351 GB, free: 11.02 MB / 0.6387 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.0001271/0.5294, allocations: 147.5 kB / 0.8353 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.5295, allocations: 15.81 kB / 0.8353 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.5295, allocations: 29.78 kB / 0.8353 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5295, allocations: 0 / 0.8353 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5295, allocations: 0 / 0.8353 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5295, allocations: 3.984 kB / 0.8353 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.5302, allocations: 498.1 kB / 0.8358 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5302, allocations: 0 / 0.8358 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.5302, allocations: 4 kB / 0.8358 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5302, allocations: 0 / 0.8358 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5302, allocations: 7.984 kB / 0.8358 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5302, allocations: 7.875 kB / 0.8358 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5302, allocations: 0 / 0.8358 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.5305, allocations: 238.3 kB / 0.8361 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.5305, allocations: 96.92 kB / 0.8361 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.5305, allocations: 0 / 0.8361 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5307, allocations: 19.92 kB / 0.8362 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.5307, allocations: 19.97 kB / 0.8362 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.5308, allocations: 8 kB / 0.8362 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001144/0.5309, allocations: 140.2 kB / 0.8363 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5309, allocations: 0 / 0.8363 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003459/0.5312, allocations: 71.98 kB / 0.8364 GB, free: 9.641 MB / 0.6387 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.0004252/0.5317, allocations: 244.4 kB / 0.8366 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.5319, allocations: 95.91 kB / 0.8367 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5319, allocations: 3.938 kB / 0.8367 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5321, allocations: 58.92 kB / 0.8368 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5324, allocations: 51.5 kB / 0.8368 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.533, allocations: 291.3 kB / 0.8371 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.5333, allocations: 0.7242 MB / 0.8378 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.5333, allocations: 25.53 kB / 0.8378 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.5334, allocations: 27.42 kB / 0.8379 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.5334, allocations: 0 / 0.8379 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of Templates: time 0.008004/0.5414, allocations: 4.218 MB / 0.842 GB, free: 3.969 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)