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.008072/0.008072, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001293/0.001293, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.64/1.64, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.664/1.664, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.0015/0.001501, allocations: 70.09 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3453, allocations: 104.7 MB / 0.8281 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.003322/0.3487, allocations: 1.61 MB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006962/0.3494, allocations: 244.1 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.3495, allocations: 0 / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.3496, allocations: 15.8 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.3497, allocations: 31.78 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.35, allocations: 55.86 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3503, allocations: 163.5 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.3505, allocations: 29.48 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3506, allocations: 71.81 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3508, allocations: 79.66 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.3508, allocations: 12 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.3508, allocations: 16 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.3509, allocations: 35.89 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.351, allocations: 63.59 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3512, allocations: 171.4 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3512, allocations: 0 / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3512, allocations: 4 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.3512, allocations: 4 kB / 0.8306 GB, free: 13.54 MB / 0.6544 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.001205/0.3524, allocations: 498.6 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3525, allocations: 12.03 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3526, allocations: 12.84 kB / 0.8311 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3538, allocations: 321.8 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.3538, allocations: 16.27 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.3539, allocations: 12.38 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.3544, allocations: 164.7 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3544, allocations: 3.938 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.3545, allocations: 4 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3545, allocations: 4 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.355, allocations: 131.8 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.3562, allocations: 0.5749 MB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.3568, allocations: 179.7 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.3571, allocations: 86.61 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.3572, allocations: 0 / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.3578, allocations: 188.9 kB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3578, allocations: 0 / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.001087/0.3589, allocations: 277.4 kB / 0.833 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.359, allocations: 106.8 kB / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.3592, allocations: 159.3 kB / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.3593, allocations: 41.69 kB / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3594, allocations: 108.4 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.3595, allocations: 47.33 kB / 0.8335 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3596, allocations: 49.56 kB / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3598, allocations: 330.8 kB / 0.8338 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.3602, allocations: 79.92 kB / 0.8339 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.3606, allocations: 132.3 kB / 0.834 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.3612, allocations: 162.3 kB / 0.8342 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3612, allocations: 4 kB / 0.8342 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006925/0.3619, allocations: 237.2 kB / 0.8344 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3619, allocations: 4 kB / 0.8344 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3619, allocations: 7.984 kB / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.362, allocations: 0 / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.3622, allocations: 43.95 kB / 0.8345 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3622, allocations: 3.938 kB / 0.8345 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.3625, allocations: 44.03 kB / 0.8345 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.3625, allocations: 7.938 kB / 0.8345 GB, free: 9.238 MB / 0.6544 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.000168/0.3627, allocations: 130.4 kB / 0.8346 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.3628, allocations: 15.91 kB / 0.8347 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.3631, allocations: 94.58 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3631, allocations: 0 / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3631, allocations: 4 kB / 0.8348 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3631, allocations: 3.938 kB / 0.8348 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.3634, allocations: 229.5 kB / 0.835 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3634, allocations: 0 / 0.835 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3636, allocations: 27.97 kB / 0.835 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3636, allocations: 4.375 kB / 0.835 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.3636, allocations: 7.984 kB / 0.835 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3636, allocations: 4 kB / 0.835 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3636, allocations: 0 / 0.835 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.3643, allocations: 246.4 kB / 0.8353 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.3644, allocations: 85.02 kB / 0.8353 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3645, allocations: 11.98 kB / 0.8353 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.3647, allocations: 23.97 kB / 0.8354 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3649, allocations: 47.88 kB / 0.8354 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3649, allocations: 11.98 kB / 0.8354 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001043/0.365, allocations: 120.1 kB / 0.8355 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.365, allocations: 0 / 0.8355 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002402/0.3652, allocations: 35.88 kB / 0.8356 GB, free: 8.051 MB / 0.6544 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.0002393/0.3655, allocations: 111.2 kB / 0.8357 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007989/0.3663, allocations: 187.8 kB / 0.8359 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3663, allocations: 0 / 0.8359 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.3667, allocations: 95.86 kB / 0.836 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3671, allocations: 31.89 kB / 0.836 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.3678, allocations: 263.2 kB / 0.8362 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3682, allocations: 0.7163 MB / 0.8369 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.3683, allocations: 21.55 kB / 0.837 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.3684, allocations: 27.42 kB / 0.837 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.3684, allocations: 0 / 0.837 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of Templates: time 0.006062/0.3745, allocations: 2.355 MB / 0.8393 GB, free: 4.203 MB / 0.6544 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)