Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001873/0.001873, allocations: 192.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.36 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3595, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002289/0.3619, allocations: 0.9034 MB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.363, allocations: 0.8819 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.3631, allocations: 4 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.577e-05/0.3631, allocations: 7.938 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3632, allocations: 11.81 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.3635, allocations: 39.94 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.3636, allocations: 111.7 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3638, allocations: 37.03 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.3639, allocations: 43.84 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.364, allocations: 59.69 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3641, allocations: 15.94 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.3641, allocations: 8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.3641, allocations: 27.91 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.3642, allocations: 43.73 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3644, allocations: 119.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3644, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.544e-06/0.3644, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3644, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007404/0.3652, allocations: 442.9 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3652, allocations: 8.031 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.3653, allocations: 16.75 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.3658, allocations: 252.1 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.3658, allocations: 8.375 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3658, allocations: 4.375 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.3662, allocations: 123.7 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3662, allocations: 3.938 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3662, allocations: 4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3662, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.3665, allocations: 79.86 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.3672, allocations: 0.4933 MB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3674, allocations: 115.7 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.3676, allocations: 58.55 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3676, allocations: 4 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3677, allocations: 30.56 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.3677, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005858/0.3683, allocations: 165.3 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.3684, allocations: 106.8 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3686, allocations: 149.1 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3686, allocations: 33.7 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.3687, allocations: 104.3 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3687, allocations: 27.64 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3688, allocations: 25.72 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.369, allocations: 326.8 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3691, allocations: 39.97 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3693, allocations: 85.11 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3695, allocations: 98.67 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3696, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003467/0.3699, allocations: 145.4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3699, allocations: 5.719 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.37, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.37, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3701, allocations: 15.98 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3702, allocations: 11.92 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3703, allocations: 19.98 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3703, allocations: 4 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000116/0.3704, allocations: 121.7 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.3705, allocations: 19.81 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3708, allocations: 81.89 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3708, allocations: 8 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3708, allocations: 3.938 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.3708, allocations: 3.984 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.3711, allocations: 201.6 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3711, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3712, allocations: 23.92 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3712, allocations: 0 / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.3713, allocations: 7.984 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3713, allocations: 4 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3713, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.3718, allocations: 365.9 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3718, allocations: 88.95 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3719, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3721, allocations: 24.03 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.3722, allocations: 27.91 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3722, allocations: 7.984 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001884/0.3724, allocations: 110 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3724, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003012/0.3727, allocations: 23.91 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001806/0.3729, allocations: 107.2 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.3732, allocations: 99.86 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3732, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3734, allocations: 48.23 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.3739, allocations: 12.2 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.3743, allocations: 239.5 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3746, allocations: 0.7041 MB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.611e-05/0.3747, allocations: 24.5 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.3748, allocations: 15.44 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3748, allocations: 0 / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.003864/0.3787, allocations: 1.178 MB / 1.076 GB, free: 1.508 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1)