Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.001284/0.001284, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.676/1.676, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0005627/0.0005629, allocations: 16 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.583, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001944/0.585, allocations: 1.284 MB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.5855, allocations: 176.4 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.5855, allocations: 0 / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.5856, allocations: 3.938 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.5857, allocations: 23.89 kB / 0.7294 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.5858, allocations: 31.95 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.586, allocations: 63.86 kB / 0.7295 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.5861, allocations: 41.02 kB / 0.7296 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.5862, allocations: 35.84 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.5863, allocations: 39.83 kB / 0.7296 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.5863, allocations: 4 kB / 0.7296 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.5864, allocations: 4 kB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.5864, allocations: 7.922 kB / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.5864, allocations: 49.64 kB / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.5866, allocations: 85.75 kB / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.5866, allocations: 0 / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5866, allocations: 0 / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.5866, allocations: 0 / 0.7298 GB, free: 9.574 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008718/0.5875, allocations: 466.8 kB / 0.7302 GB, free: 9.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5875, allocations: 12.02 kB / 0.7302 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.5876, allocations: 15.81 kB / 0.7303 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.5878, allocations: 185.6 kB / 0.7304 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5878, allocations: 4 kB / 0.7304 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5878, allocations: 8 kB / 0.7304 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.5881, allocations: 105.6 kB / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5881, allocations: 0 / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.5881, allocations: 0 / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5881, allocations: 0 / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.5883, allocations: 75.95 kB / 0.7306 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.5891, allocations: 416.5 kB / 0.731 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.5892, allocations: 62.52 kB / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.5893, allocations: 0 / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.5893, allocations: 42.62 kB / 0.7311 GB, free: 8.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.5893, allocations: 4 kB / 0.7311 GB, free: 8.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.00036/0.5897, allocations: 117.5 kB / 0.7312 GB, free: 7.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.5897, allocations: 55.41 kB / 0.7313 GB, free: 7.859 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.5899, allocations: 160 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.5899, allocations: 29.64 kB / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.59, allocations: 104 kB / 0.7316 GB, free: 7.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.5901, allocations: 19.97 kB / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.5901, allocations: 0 / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5903, allocations: 318.8 kB / 0.7319 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.5903, allocations: 31.98 kB / 0.7319 GB, free: 7.184 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.5904, allocations: 39.92 kB / 0.732 GB, free: 7.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.831e-05/0.5905, allocations: 27.98 kB / 0.732 GB, free: 7.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5905, allocations: 0 / 0.732 GB, free: 7.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002027/0.5907, allocations: 109.5 kB / 0.7321 GB, free: 7.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5908, allocations: 5.875 kB / 0.7321 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.5908, allocations: 0 / 0.7321 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5908, allocations: 3.984 kB / 0.7321 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.5909, allocations: 8 kB / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5909, allocations: 0 / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.5911, allocations: 39.88 kB / 0.7321 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5911, allocations: 7.984 kB / 0.7321 GB, free: 6.941 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.5912, allocations: 124.8 kB / 0.7323 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.5912, allocations: 11.86 kB / 0.7323 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.5913, allocations: 16.31 kB / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5913, allocations: 0 / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5913, allocations: 4 kB / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5913, allocations: 0 / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.5915, allocations: 197.6 kB / 0.7325 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5915, allocations: 0 / 0.7325 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.5916, allocations: 15.98 kB / 0.7325 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5916, allocations: 3.953 kB / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.5916, allocations: 0 / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5916, allocations: 256 / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5916, allocations: 4.234 kB / 0.7325 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.5919, allocations: 191.4 kB / 0.7327 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.5919, allocations: 88.95 kB / 0.7328 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.592, allocations: 15.88 kB / 0.7328 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.5922, allocations: 31.97 kB / 0.7328 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.5922, allocations: 15.97 kB / 0.7328 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.5923, allocations: 4 kB / 0.7328 GB, free: 6.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.998e-05/0.5923, allocations: 110.3 kB / 0.7329 GB, free: 6.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5923, allocations: 7.938 kB / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00022/0.5926, allocations: 15.91 kB / 0.733 GB, free: 6.012 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.5927, allocations: 107.2 kB / 0.7331 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.5929, allocations: 71.97 kB / 0.7331 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5929, allocations: 0 / 0.7331 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.593, allocations: 47.86 kB / 0.7332 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.5933, allocations: 11.98 kB / 0.7332 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.5937, allocations: 223.1 kB / 0.7334 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.594, allocations: 0.7043 MB / 0.7341 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.93e-05/0.594, allocations: 4 kB / 0.7341 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.5941, allocations: 15.44 kB / 0.7341 GB, free: 4.777 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5941, allocations: 0 / 0.7341 GB, free: 4.777 MB / 0.545 GB Notification: Performance of Templates: time 0.003346/0.5974, allocations: 1.071 MB / 0.7352 GB, free: 3.719 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: