Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 285.4 MB / 298 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 184.9 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009042, allocations: 86.62 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.968e-05/4.97e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7112, allocations: 115.3 MB / 0.9709 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.9462, allocations: 138.7 MB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.9464, allocations: 67.97 kB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0128/0.9592, allocations: 4.325 MB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9593, allocations: 0 / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.9593, allocations: 8 kB / 1.111 GB, free: 8.82 MB / 0.7136 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.0006801/0.96, allocations: 0.5053 MB / 1.111 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.96, allocations: 12.03 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.9601, allocations: 27.72 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.9603, allocations: 204 kB / 1.111 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.9604, allocations: 12 kB / 1.111 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.9604, allocations: 16 kB / 1.111 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.9606, allocations: 121.9 kB / 1.111 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.9607, allocations: 0.6562 kB / 1.111 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.9607, allocations: 4 kB / 1.111 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.9607, allocations: 8 kB / 1.111 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.9608, allocations: 64.69 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.9617, allocations: 0.6842 MB / 1.112 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.962, allocations: 136 kB / 1.112 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.9621, allocations: 46.64 kB / 1.112 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.9621, allocations: 6.531 kB / 1.112 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.9624, allocations: 143.2 kB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.9624, allocations: 0 / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000322/0.9627, allocations: 151.6 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.9628, allocations: 114.7 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.963, allocations: 173.9 kB / 1.113 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.963, allocations: 33.7 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.9631, allocations: 128.5 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.9632, allocations: 35.45 kB / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.9632, allocations: 8 kB / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9634, allocations: 330.8 kB / 1.113 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.9636, allocations: 92 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.9638, allocations: 161.3 kB / 1.114 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.9641, allocations: 150.4 kB / 1.114 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9641, allocations: 4 kB / 1.114 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005715/0.9647, allocations: 340.7 kB / 1.114 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.9647, allocations: 67.39 kB / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9647, allocations: 4 kB / 1.114 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9648, allocations: 4 kB / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.9649, allocations: 24.05 kB / 1.114 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.9649, allocations: 5.625 kB / 1.114 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.9654, allocations: 111.8 kB / 1.114 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.992e-05/0.9654, allocations: 15.98 kB / 1.114 GB, free: 4.582 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.000126/0.9655, allocations: 130.1 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.9656, allocations: 15.81 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.9657, allocations: 74.75 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.9658, allocations: 5.969 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9658, allocations: 0 / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.9658, allocations: 4 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.966, allocations: 253.4 kB / 1.115 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.966, allocations: 0 / 1.115 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.644e-05/0.9661, allocations: 23.92 kB / 1.115 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.9661, allocations: 4 kB / 1.115 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.9662, allocations: 8 kB / 1.115 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.9662, allocations: 0.75 kB / 1.115 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9662, allocations: 0 / 1.115 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.9664, allocations: 200.5 kB / 1.115 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.9665, allocations: 96.91 kB / 1.115 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.9666, allocations: 3.562 kB / 1.115 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.9667, allocations: 27.98 kB / 1.115 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.9668, allocations: 39.81 kB / 1.115 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.9668, allocations: 4 kB / 1.115 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000128/0.967, allocations: 152 kB / 1.115 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.967, allocations: 0 / 1.115 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002898/0.9673, allocations: 52 kB / 1.115 GB, free: 3.402 MB / 0.7136 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 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002295/0.9675, allocations: 123.1 kB / 1.116 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.968, allocations: 314.7 kB / 1.116 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.968, allocations: 5.688 kB / 1.116 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.9681, allocations: 64.19 kB / 1.116 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.9684, allocations: 29.5 kB / 1.116 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.9689, allocations: 206.6 kB / 1.116 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.9694, allocations: 0.7285 MB / 1.117 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.9695, allocations: 17.55 kB / 1.117 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.9696, allocations: 23.42 kB / 1.117 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of SimCode: time 5.1e-07/0.9696, allocations: 0 / 1.117 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.008384/0.9779, allocations: 3.11 MB / 1.12 GB, free: 14.82 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)