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.008892/0.008892, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.001423/0.001423, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.684/1.684, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.709/1.709, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001463/0.001463, allocations: 79.88 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.004971/0.3462, allocations: 1.621 MB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3472, allocations: 252 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3474, allocations: 4 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.743e-05/0.3475, allocations: 7.875 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.3478, allocations: 27.72 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.3482, allocations: 59.84 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.3486, allocations: 163.5 kB / 0.8302 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.3488, allocations: 25.5 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.349, allocations: 71.8 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.3493, allocations: 79.66 kB / 0.8304 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.3493, allocations: 12 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.824e-05/0.3494, allocations: 16 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.3495, allocations: 35.91 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.3496, allocations: 75.62 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.35, allocations: 163.4 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.35, allocations: 0 / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.282e-06/0.35, allocations: 0 / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.35, allocations: 3.938 kB / 0.8306 GB, free: 13.55 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.001603/0.3516, allocations: 0.4947 MB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.3517, allocations: 8.031 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.123e-05/0.3518, allocations: 16.83 kB / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.3533, allocations: 313.9 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.3534, allocations: 24.25 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.3534, allocations: 12.38 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.3541, allocations: 160.7 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3541, allocations: 3.938 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.3542, allocations: 0 / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3542, allocations: 8 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.355, allocations: 131.8 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3565, allocations: 0.571 MB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.3574, allocations: 187.7 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/0.3579, allocations: 82.59 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.985e-05/0.358, allocations: 4 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008293/0.3588, allocations: 173.8 kB / 0.8328 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/0.3588, allocations: 0 / 0.8328 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.001517/0.3603, allocations: 277.2 kB / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3605, allocations: 110.8 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3608, allocations: 163.3 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.3609, allocations: 33.7 kB / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.361, allocations: 112.4 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/0.3611, allocations: 43.39 kB / 0.8335 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3613, allocations: 45.56 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.3615, allocations: 334.8 kB / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/0.362, allocations: 83.88 kB / 0.8339 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.3626, allocations: 129.5 kB / 0.834 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008985/0.3635, allocations: 166.5 kB / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3635, allocations: 0 / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001274/0.3648, allocations: 237.2 kB / 0.8344 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.3649, allocations: 8 kB / 0.8344 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3649, allocations: 3.984 kB / 0.8344 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.3649, allocations: 0 / 0.8344 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.3653, allocations: 39.97 kB / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.3654, allocations: 0 / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.3658, allocations: 47.92 kB / 0.8345 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3659, allocations: 8 kB / 0.8345 GB, free: 9.258 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.0002228/0.3661, allocations: 130.2 kB / 0.8346 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.3662, allocations: 15.89 kB / 0.8347 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.3667, allocations: 98.81 kB / 0.8348 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3667, allocations: 4.031 kB / 0.8348 GB, free: 9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.3667, allocations: 4 kB / 0.8348 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3667, allocations: 7.938 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.3671, allocations: 221.4 kB / 0.835 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.3672, allocations: 4 kB / 0.835 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.3675, allocations: 27.95 kB / 0.835 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3675, allocations: 0 / 0.835 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3675, allocations: 8 kB / 0.835 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3675, allocations: 0 / 0.835 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3676, allocations: 4 kB / 0.835 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.3688, allocations: 249.4 kB / 0.8353 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.369, allocations: 89.02 kB / 0.8353 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.3691, allocations: 4 kB / 0.8353 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.3695, allocations: 36.02 kB / 0.8354 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.3697, allocations: 43.88 kB / 0.8354 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.3698, allocations: 4 kB / 0.8354 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001678/0.37, allocations: 120 kB / 0.8355 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.11e-07/0.37, allocations: 0 / 0.8355 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004776/0.3705, allocations: 31.94 kB / 0.8356 GB, free: 8.074 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.0003345/0.3708, allocations: 119.2 kB / 0.8357 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.3721, allocations: 183.8 kB / 0.8359 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3721, allocations: 0 / 0.8359 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.3727, allocations: 103.9 kB / 0.836 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.3733, allocations: 28.27 kB / 0.836 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.3744, allocations: 256.3 kB / 0.8362 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3749, allocations: 0.7085 MB / 0.8369 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.3751, allocations: 29.53 kB / 0.837 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3753, allocations: 31.31 kB / 0.837 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of SimCode: time 4.117e-06/0.3753, allocations: 0 / 0.837 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of Templates: time 0.01068/0.386, allocations: 2.362 MB / 0.8393 GB, free: 4.211 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)