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.001437/0.001437, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001708/0.001708, allocations: 168.7 kB / 15.95 MB, free: 204 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.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.602/1.602, allocations: 252 MB / 0.5102 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.0005404/0.0005407, allocations: 16 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6642, allocations: 106.3 MB / 0.7282 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002199/0.6665, allocations: 1.305 MB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005871/0.6671, allocations: 232.2 kB / 0.7296 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.6672, allocations: 4 kB / 0.7297 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.6672, allocations: 11.86 kB / 0.7297 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.6674, allocations: 19.86 kB / 0.7297 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.6676, allocations: 43.92 kB / 0.7297 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.6678, allocations: 143.5 kB / 0.7299 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.668, allocations: 25.47 kB / 0.7299 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.6681, allocations: 55.77 kB / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.6682, allocations: 75.66 kB / 0.73 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.6683, allocations: 8 kB / 0.73 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.6683, allocations: 8 kB / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.6684, allocations: 23.91 kB / 0.73 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.6684, allocations: 45.64 kB / 0.7301 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.6686, allocations: 117.6 kB / 0.7302 GB, free: 9.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.6686, allocations: 0 / 0.7302 GB, free: 9.305 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6686, allocations: 0 / 0.7302 GB, free: 9.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6686, allocations: 0 / 0.7302 GB, free: 9.305 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.0009949/0.6696, allocations: 0.4909 MB / 0.7307 GB, free: 8.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6697, allocations: 8.031 kB / 0.7307 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.6697, allocations: 11.91 kB / 0.7307 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009117/0.6707, allocations: 346.5 kB / 0.731 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.6707, allocations: 8 kB / 0.731 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.6708, allocations: 8 kB / 0.731 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.6712, allocations: 183.4 kB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.6712, allocations: 0 / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.6712, allocations: 15.94 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6713, allocations: 0 / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.6718, allocations: 163.8 kB / 0.7314 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.6727, allocations: 0.5906 MB / 0.732 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.6733, allocations: 207.7 kB / 0.7322 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.6735, allocations: 106.6 kB / 0.7323 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.6736, allocations: 7.938 kB / 0.7323 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004862/0.6741, allocations: 193.8 kB / 0.7325 GB, free: 6.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.6741, allocations: 0 / 0.7325 GB, free: 6.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0009482/0.675, allocations: 317.2 kB / 0.7328 GB, free: 6.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.6751, allocations: 106.8 kB / 0.7329 GB, free: 6.328 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.6753, allocations: 164.8 kB / 0.733 GB, free: 6.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6754, allocations: 37.64 kB / 0.7331 GB, free: 6.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.6755, allocations: 112.3 kB / 0.7332 GB, free: 6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.6755, allocations: 43.52 kB / 0.7332 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.6755, allocations: 8 kB / 0.7332 GB, free: 5.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6757, allocations: 334.8 kB / 0.7335 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.676, allocations: 103.8 kB / 0.7336 GB, free: 5.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.6763, allocations: 137.1 kB / 0.7338 GB, free: 5.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.6766, allocations: 95.86 kB / 0.7339 GB, free: 5.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6766, allocations: 4 kB / 0.7339 GB, free: 5.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006128/0.6772, allocations: 257.3 kB / 0.7341 GB, free: 5.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6772, allocations: 8 kB / 0.7341 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6772, allocations: 0 / 0.7341 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6773, allocations: 0 / 0.7341 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.6775, allocations: 59.89 kB / 0.7342 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6775, allocations: 0 / 0.7342 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.6778, allocations: 47.8 kB / 0.7342 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6778, allocations: 8 kB / 0.7342 GB, free: 4.883 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 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.6779, allocations: 133.7 kB / 0.7344 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.678, allocations: 15.91 kB / 0.7344 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.6782, allocations: 98.62 kB / 0.7345 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.6783, allocations: 4 kB / 0.7345 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6783, allocations: 4 kB / 0.7345 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6783, allocations: 0 / 0.7345 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.6785, allocations: 225.4 kB / 0.7347 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6785, allocations: 0 / 0.7347 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.6787, allocations: 35.97 kB / 0.7347 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6787, allocations: 8.547 kB / 0.7347 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.6787, allocations: 0 / 0.7347 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6787, allocations: 4 kB / 0.7347 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6787, allocations: 4 kB / 0.7347 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.6793, allocations: 286.8 kB / 0.735 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.6794, allocations: 96.89 kB / 0.7351 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.6794, allocations: 11.94 kB / 0.7351 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.6797, allocations: 35.95 kB / 0.7351 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.6798, allocations: 43.92 kB / 0.7352 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.6798, allocations: 4 kB / 0.7352 GB, free: 3.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.079e-05/0.6799, allocations: 120 kB / 0.7353 GB, free: 3.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6799, allocations: 0 / 0.7353 GB, free: 3.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002415/0.6802, allocations: 31.98 kB / 0.7353 GB, free: 3.641 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 (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.0002386/0.6804, allocations: 107.2 kB / 0.7354 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006834/0.6811, allocations: 227.2 kB / 0.7357 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6811, allocations: 0 / 0.7357 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.6814, allocations: 115.8 kB / 0.7358 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.6817, allocations: 23.98 kB / 0.7358 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.6824, allocations: 309.7 kB / 0.7361 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.6827, allocations: 0.7089 MB / 0.7368 GB, free: 2.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.6828, allocations: 25.53 kB / 0.7368 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.6829, allocations: 19.44 kB / 0.7368 GB, free: 2.055 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.6829, allocations: 0 / 0.7368 GB, free: 2.055 MB / 0.545 GB Notification: Performance of Templates: time 0.005126/0.688, allocations: 1.957 MB / 0.7387 GB, free: 108 kB / 0.545 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: