Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001088/0.001088, allocations: 115.2 kB / 16.38 MB, free: 6.02 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.001113/0.001113, allocations: 188.1 kB / 17.31 MB, free: 5.617 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.559/1.559, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.919/1.919, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.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.00253/0.00253, allocations: 72.48 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2911, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.003437/0.2946, allocations: 1.029 MB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.2967, allocations: 1.308 MB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.2969, allocations: 4 kB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.968e-05/0.297, allocations: 19.73 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.2972, allocations: 35.66 kB / 0.7872 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.2982, allocations: 265.7 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.2987, allocations: 339.3 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2988, allocations: 41.67 kB / 0.7878 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.2991, allocations: 127.7 kB / 0.7879 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5569/0.856, allocations: 118.8 kB / 0.788 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.8562, allocations: 33.81 kB / 0.788 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.8564, allocations: 47.66 kB / 0.7881 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.8564, allocations: 40.11 kB / 0.7881 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.8566, allocations: 120.3 kB / 0.7882 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.8571, allocations: 337.7 kB / 0.7886 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8571, allocations: 3.969 kB / 0.7886 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.845e-06/0.8571, allocations: 0 / 0.7886 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.8571, allocations: 0 / 0.7886 GB, free: 46.7 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.001012/0.8581, allocations: 0.5565 MB / 0.7891 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8582, allocations: 12.56 kB / 0.7891 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.8583, allocations: 21.34 kB / 0.7891 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.859, allocations: 307.1 kB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.8591, allocations: 12.16 kB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.8591, allocations: 24.02 kB / 0.7895 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.8594, allocations: 132.3 kB / 0.7896 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8594, allocations: 8.625 kB / 0.7896 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.8594, allocations: 2.688 kB / 0.7896 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8594, allocations: 4.469 kB / 0.7896 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.8597, allocations: 76.16 kB / 0.7897 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.8603, allocations: 0.6394 MB / 0.7903 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.8607, allocations: 138.2 kB / 0.7904 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.8609, allocations: 59.72 kB / 0.7905 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.8609, allocations: 3.219 kB / 0.7905 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.8612, allocations: 151.8 kB / 0.7906 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.8613, allocations: 2.625 kB / 0.7906 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.000585/0.8618, allocations: 201.2 kB / 0.7908 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.8619, allocations: 104.2 kB / 0.7909 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.8621, allocations: 194.6 kB / 0.7911 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.8621, allocations: 43.7 kB / 0.7912 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.8622, allocations: 131.1 kB / 0.7913 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.8622, allocations: 35.81 kB / 0.7913 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.8624, allocations: 61.75 kB / 0.7914 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.8624, allocations: 328.3 kB / 0.7917 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.8627, allocations: 99.5 kB / 0.7918 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.8629, allocations: 158.4 kB / 0.7919 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.8632, allocations: 226.2 kB / 0.7922 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8633, allocations: 0.5312 kB / 0.7922 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006084/0.8639, allocations: 351.4 kB / 0.7925 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.8639, allocations: 68.67 kB / 0.7926 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.864, allocations: 2.844 kB / 0.7926 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.864, allocations: 6.062 kB / 0.7926 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.8641, allocations: 19.5 kB / 0.7926 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.8641, allocations: 2.625 kB / 0.7926 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.8645, allocations: 75.7 kB / 0.7927 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.8645, allocations: 18.12 kB / 0.7927 GB, free: 44.23 MB / 0.6544 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,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.8647, allocations: 136.2 kB / 0.7928 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.8647, allocations: 17.98 kB / 0.7928 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.865, allocations: 94.08 kB / 0.7929 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.865, allocations: 4.312 kB / 0.7929 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.865, allocations: 5.5 kB / 0.7929 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.865, allocations: 93.08 kB / 0.793 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.8651, allocations: 9.391 kB / 0.793 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.8652, allocations: 13.95 kB / 0.793 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.8653, allocations: 25.55 kB / 0.7931 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000474/0.8657, allocations: 392.2 kB / 0.7934 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003726/0.8661, allocations: 486.4 kB / 0.7939 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001422/0.8663, allocations: 61.3 kB / 0.794 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.563e-05/0.8664, allocations: 136.6 kB / 0.7941 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of Backend: time 1.092e-06/0.8664, allocations: 0 / 0.7941 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000919/0.8673, allocations: 365.9 kB / 0.7944 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006206/0.8679, allocations: 0.7215 MB / 0.7951 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.007792/0.8757, allocations: 3.397 MB / 0.7985 GB, free: 42.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)