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.001475/0.001475, 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.001183/0.001183, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.775/1.775, allocations: 205.1 MB / 222 MB, free: 5 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.642/1.642, allocations: 251.6 MB / 0.5088 GB, free: 3.293 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.001833/0.001833, allocations: 71.89 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.6765, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.003832/0.6804, allocations: 1.667 MB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005987/0.681, allocations: 248 kB / 0.7257 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.6811, allocations: 0 / 0.7257 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.681e-05/0.6812, allocations: 3.938 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.6813, allocations: 27.8 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.6816, allocations: 47.94 kB / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.6817, allocations: 151.5 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.6819, allocations: 33.47 kB / 0.7259 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.682, allocations: 55.83 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.6821, allocations: 87.58 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.6822, allocations: 8 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.6822, allocations: 8 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.6823, allocations: 23.91 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.6824, allocations: 63.64 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.6826, allocations: 157.4 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6826, allocations: 0 / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.358e-06/0.6826, allocations: 4 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6826, allocations: 0 / 0.7263 GB, free: 10.57 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.001169/0.6838, allocations: 498.7 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.6839, allocations: 12.03 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.6839, allocations: 12.84 kB / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.685, allocations: 324 kB / 0.7271 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.685, allocations: 8.375 kB / 0.7272 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.6851, allocations: 16.31 kB / 0.7272 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.6855, allocations: 168.6 kB / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6855, allocations: 3.938 kB / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.6856, allocations: 4 kB / 0.7273 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.6856, allocations: 4 kB / 0.7273 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.6862, allocations: 131.8 kB / 0.7275 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.6873, allocations: 0.5749 MB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.6879, allocations: 195.7 kB / 0.7282 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.6882, allocations: 82.61 kB / 0.7283 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.6882, allocations: 4 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.6888, allocations: 180.5 kB / 0.7285 GB, free: 8.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.6888, allocations: 0 / 0.7285 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001066/0.6898, allocations: 273.2 kB / 0.7287 GB, free: 7.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.6899, allocations: 106.8 kB / 0.7288 GB, free: 7.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.6901, allocations: 157.5 kB / 0.729 GB, free: 7.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.6902, allocations: 41.69 kB / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.6903, allocations: 112.3 kB / 0.7291 GB, free: 7.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.6903, allocations: 43.52 kB / 0.7292 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.6904, allocations: 49.56 kB / 0.7292 GB, free: 7.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.6906, allocations: 330.8 kB / 0.7295 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.6909, allocations: 83.86 kB / 0.7296 GB, free: 6.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.6912, allocations: 130.1 kB / 0.7297 GB, free: 6.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.6917, allocations: 158.4 kB / 0.7299 GB, free: 6.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6917, allocations: 4 kB / 0.7299 GB, free: 6.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006578/0.6924, allocations: 241.7 kB / 0.7301 GB, free: 6.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6924, allocations: 4 kB / 0.7301 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6924, allocations: 4 kB / 0.7301 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6924, allocations: 0 / 0.7301 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.6927, allocations: 44.02 kB / 0.7302 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.6927, allocations: 11.92 kB / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.693, allocations: 43.75 kB / 0.7302 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.693, allocations: 7.984 kB / 0.7302 GB, free: 6.266 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.0001234/0.6932, allocations: 125.8 kB / 0.7304 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.6932, allocations: 15.91 kB / 0.7304 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.6936, allocations: 98.48 kB / 0.7305 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6936, allocations: 0 / 0.7305 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6936, allocations: 7.938 kB / 0.7305 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6936, allocations: 3.938 kB / 0.7305 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.6938, allocations: 217.6 kB / 0.7307 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6939, allocations: 0 / 0.7307 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.694, allocations: 31.97 kB / 0.7307 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.694, allocations: 0 / 0.7307 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.694, allocations: 7.984 kB / 0.7307 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.6941, allocations: 0 / 0.7307 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6941, allocations: 0 / 0.7307 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.6948, allocations: 246.4 kB / 0.731 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.6949, allocations: 88.95 kB / 0.731 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.6949, allocations: 11.98 kB / 0.731 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.6952, allocations: 23.97 kB / 0.7311 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6953, allocations: 51.86 kB / 0.7311 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.6953, allocations: 4 kB / 0.7311 GB, free: 5.246 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001006/0.6954, allocations: 124.9 kB / 0.7312 GB, free: 5.125 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6954, allocations: 0 / 0.7312 GB, free: 5.125 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002323/0.6957, allocations: 31.91 kB / 0.7313 GB, free: 5.094 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.0002111/0.6959, allocations: 115.2 kB / 0.7314 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006881/0.6966, allocations: 191.9 kB / 0.7316 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6966, allocations: 0 / 0.7316 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.697, allocations: 99.84 kB / 0.7317 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.6973, allocations: 27.98 kB / 0.7317 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.698, allocations: 298.3 kB / 0.732 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.6985, allocations: 0.7088 MB / 0.7327 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.6986, allocations: 33.52 kB / 0.7327 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.6987, allocations: 19.44 kB / 0.7327 GB, free: 3.547 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.6987, allocations: 0 / 0.7327 GB, free: 3.547 MB / 0.545 GB Notification: Performance of Templates: time 0.00601/0.7048, allocations: 2.041 MB / 0.7347 GB, free: 1.523 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (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)