Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01104/0.01104, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.634/1.634, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.606/1.606, allocations: 252 MB / 0.5105 GB, free: 4.664 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.0005737/0.0005737, allocations: 20.47 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5513/0.5519, allocations: 106.3 MB / 0.7287 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002039/0.554, allocations: 1.332 MB / 0.73 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005874/0.5546, allocations: 240.1 kB / 0.7303 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.5547, allocations: 0 / 0.7303 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.5547, allocations: 7.922 kB / 0.7303 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.5549, allocations: 23.81 kB / 0.7303 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.5551, allocations: 51.92 kB / 0.7304 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.5553, allocations: 147.6 kB / 0.7305 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.5554, allocations: 29.41 kB / 0.7305 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.5555, allocations: 59.77 kB / 0.7306 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.5556, allocations: 79.66 kB / 0.7307 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.5557, allocations: 4 kB / 0.7307 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.103e-05/0.5557, allocations: 8 kB / 0.7307 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.5557, allocations: 23.91 kB / 0.7307 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.5558, allocations: 85.34 kB / 0.7308 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.556, allocations: 153.4 kB / 0.7309 GB, free: 9.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.556, allocations: 0 / 0.7309 GB, free: 9.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.415e-06/0.556, allocations: 0 / 0.7309 GB, free: 9.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.556, allocations: 0 / 0.7309 GB, free: 9.117 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.0009916/0.557, allocations: 0.491 MB / 0.7314 GB, free: 8.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5571, allocations: 12.03 kB / 0.7314 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.5572, allocations: 16.83 kB / 0.7314 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5582, allocations: 332 kB / 0.7317 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.5583, allocations: 16.36 kB / 0.7318 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.5583, allocations: 16.36 kB / 0.7318 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.5588, allocations: 183.9 kB / 0.7319 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5588, allocations: 7.875 kB / 0.732 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.5588, allocations: 4 kB / 0.732 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5588, allocations: 8 kB / 0.732 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.5594, allocations: 155.9 kB / 0.7321 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.5605, allocations: 0.5867 MB / 0.7327 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.5611, allocations: 215.7 kB / 0.7329 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.5615, allocations: 98.59 kB / 0.733 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.5615, allocations: 7.938 kB / 0.733 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.5621, allocations: 192.3 kB / 0.7332 GB, free: 6.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.684e-06/0.5621, allocations: 4 kB / 0.7332 GB, free: 6.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001137/0.5632, allocations: 317.2 kB / 0.7335 GB, free: 6.266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.5633, allocations: 118.7 kB / 0.7336 GB, free: 6.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.5635, allocations: 161.5 kB / 0.7338 GB, free: 5.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.5635, allocations: 37.7 kB / 0.7338 GB, free: 5.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.5636, allocations: 108.3 kB / 0.7339 GB, free: 5.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.5637, allocations: 47.52 kB / 0.7339 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.5637, allocations: 25.7 kB / 0.734 GB, free: 5.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5639, allocations: 330.8 kB / 0.7343 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.5642, allocations: 103.8 kB / 0.7344 GB, free: 5.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.5646, allocations: 145.1 kB / 0.7345 GB, free: 5.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.5652, allocations: 186.9 kB / 0.7347 GB, free: 4.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5652, allocations: 0 / 0.7347 GB, free: 4.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007358/0.5659, allocations: 277.3 kB / 0.735 GB, free: 4.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.566, allocations: 8 kB / 0.735 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.566, allocations: 4.062 kB / 0.735 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.566, allocations: 0 / 0.735 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.5662, allocations: 51.89 kB / 0.735 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5663, allocations: 0 / 0.735 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.5665, allocations: 55.73 kB / 0.7351 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.5666, allocations: 12 kB / 0.7351 GB, free: 4.535 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (hysteresis.y,$PRE.hysteresis.y,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition2,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,hysteresis2.y,$PRE.hysteresis2.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001188/0.5667, allocations: 121.8 kB / 0.7352 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.5667, allocations: 11.91 kB / 0.7352 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.567, allocations: 102.6 kB / 0.7353 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.567, allocations: 4 kB / 0.7353 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.567, allocations: 0 / 0.7353 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5671, allocations: 8.203 kB / 0.7353 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.5673, allocations: 225.5 kB / 0.7355 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5673, allocations: 0 / 0.7355 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.5674, allocations: 35.97 kB / 0.7356 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5674, allocations: 7.984 kB / 0.7356 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.5675, allocations: 7.984 kB / 0.7356 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5675, allocations: 3.938 kB / 0.7356 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5675, allocations: 4 kB / 0.7356 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.5682, allocations: 274.4 kB / 0.7359 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.5682, allocations: 92.95 kB / 0.7359 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.5683, allocations: 3.984 kB / 0.7359 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.5685, allocations: 39.97 kB / 0.736 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5686, allocations: 43.86 kB / 0.736 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5687, allocations: 4 kB / 0.736 GB, free: 3.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001007/0.5688, allocations: 128.8 kB / 0.7362 GB, free: 3.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5688, allocations: 0 / 0.7362 GB, free: 3.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002258/0.569, allocations: 28 kB / 0.7362 GB, free: 3.309 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * 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.000171/0.5692, allocations: 115.2 kB / 0.7363 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007448/0.5699, allocations: 215.8 kB / 0.7365 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.57, allocations: 0 / 0.7365 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.5703, allocations: 115.9 kB / 0.7366 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.5706, allocations: 30.45 kB / 0.7366 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.5713, allocations: 302.2 kB / 0.7369 GB, free: 2.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.5716, allocations: 0.7089 MB / 0.7376 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.5717, allocations: 25.53 kB / 0.7376 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.5718, allocations: 23.44 kB / 0.7377 GB, free: 1.723 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.5718, allocations: 0 / 0.7377 GB, free: 1.723 MB / 0.545 GB Notification: Performance of Templates: time 0.005125/0.5769, allocations: 2.019 MB / 0.7396 GB, free: 15.71 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1) Environment - environmentSimulation: