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.0008406/0.0008406, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005784/0.005784, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.527/1.527, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 12.09 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001017/0.3507, allocations: 0.5645 MB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.3516, allocations: 0.8819 MB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.3517, allocations: 0 / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.3517, allocations: 3.938 kB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.985e-05/0.3518, allocations: 19.86 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.352, allocations: 31.97 kB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3521, allocations: 115.6 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3523, allocations: 25.05 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3524, allocations: 35.86 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.3525, allocations: 59.73 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3525, allocations: 4 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.3525, allocations: 4 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.3526, allocations: 19.92 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.3526, allocations: 73.36 kB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.3528, allocations: 103.8 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3528, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3528, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3528, allocations: 0 / 1.076 GB, free: 5.582 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.000624/0.3534, allocations: 443.1 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3535, allocations: 12.03 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.3535, allocations: 16.75 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.354, allocations: 272 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3541, allocations: 12.38 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3541, allocations: 4.375 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.3544, allocations: 120.8 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3544, allocations: 7.938 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3544, allocations: 8 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3544, allocations: 0 / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.3547, allocations: 91.86 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.3553, allocations: 0.501 MB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3556, allocations: 115.8 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3558, allocations: 66.59 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3558, allocations: 0 / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3558, allocations: 38.56 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3558, allocations: 0 / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0006256/0.3565, allocations: 193.6 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3565, allocations: 102.8 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3567, allocations: 145.1 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3567, allocations: 33.69 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.3568, allocations: 112.4 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.3568, allocations: 27.8 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.3568, allocations: 17.7 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.357, allocations: 326.8 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.3571, allocations: 47.95 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3573, allocations: 93.05 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.3577, allocations: 118.5 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3577, allocations: 0 / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004525/0.3582, allocations: 153.4 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3582, allocations: 7.938 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3582, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3582, allocations: 4 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3584, allocations: 35.91 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3584, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3585, allocations: 19.98 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3585, allocations: 4 kB / 1.079 GB, free: 2.18 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 9.847e-05/0.3586, allocations: 129.8 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.3587, allocations: 11.81 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.359, allocations: 97.83 kB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.359, allocations: 0 / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.359, allocations: 4 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.359, allocations: 0 / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.3593, allocations: 201.6 kB / 1.079 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3593, allocations: 0 / 1.079 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.3595, allocations: 27.97 kB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.3595, allocations: 4 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3595, allocations: 0 / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3595, allocations: 0 / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3595, allocations: 4 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.3602, allocations: 397.8 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.3603, allocations: 84.95 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3603, allocations: 4 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.3607, allocations: 19.98 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.3608, allocations: 19.95 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3608, allocations: 4 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001115/0.361, allocations: 125.2 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.866e-06/0.361, allocations: 0 / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005701/0.3615, allocations: 19.84 kB / 1.08 GB, free: 0.9414 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.0001983/0.3617, allocations: 107.3 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.3622, allocations: 120.1 kB / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3622, allocations: 0 / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3624, allocations: 68.02 kB / 1.08 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3629, allocations: 9.203 kB / 1.08 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.3633, allocations: 237.3 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3636, allocations: 0.7004 MB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.3637, allocations: 16.44 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.3638, allocations: 19.42 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3638, allocations: 0 / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.003968/0.3678, allocations: 1.104 MB / 1.082 GB, free: 14.51 MB / 0.8419 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)