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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001003, allocations: 187.6 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000953/0.0009528, allocations: 93.28 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004356, allocations: 10.03 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2197, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001622/0.2213, allocations: 1.335 MB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000521/0.2219, allocations: 253.7 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.222, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.222, allocations: 3.938 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.2222, allocations: 23.86 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.2224, allocations: 51.88 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2225, allocations: 151.6 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2227, allocations: 29.7 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2228, allocations: 59.77 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.2229, allocations: 75.66 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.2229, allocations: 4 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.223, allocations: 8 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.223, allocations: 27.89 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.2231, allocations: 63.58 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2232, allocations: 151.4 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2232, allocations: 0 / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2232, allocations: 0 / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2232, allocations: 0 / 0.8989 GB, free: 65.93 MB / 0.6042 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.0008967/0.2241, allocations: 0.4909 MB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2242, allocations: 8.031 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.2242, allocations: 16.84 kB / 0.8994 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.2251, allocations: 336 kB / 0.8998 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.2252, allocations: 8.375 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.2252, allocations: 16.38 kB / 0.8998 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.2256, allocations: 185.4 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2256, allocations: 7.938 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.2257, allocations: 4 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2257, allocations: 4 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.2262, allocations: 159.8 kB / 0.9001 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.2269, allocations: 0.5828 MB / 0.9007 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.2274, allocations: 207.8 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.2277, allocations: 106.4 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.2278, allocations: 8 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.2282, allocations: 189.8 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.2282, allocations: 3.938 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0008599/0.229, allocations: 321.2 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.2291, allocations: 114.8 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.2292, allocations: 158.1 kB / 0.9018 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2292, allocations: 37.7 kB / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.2293, allocations: 112.4 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.2293, allocations: 47.44 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.2293, allocations: 29.7 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.2294, allocations: 326.8 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.2297, allocations: 107.8 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.23, allocations: 148.2 kB / 0.9025 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.2304, allocations: 186.5 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2304, allocations: 0 / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005837/0.231, allocations: 273.3 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2311, allocations: 4 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2311, allocations: 4 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2311, allocations: 3.984 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2313, allocations: 43.91 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2313, allocations: 8 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.2315, allocations: 43.86 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2316, allocations: 11.94 kB / 0.9031 GB, free: 61.36 MB / 0.6042 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 9.99e-05/0.2317, allocations: 129.8 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.2317, allocations: 15.89 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.2319, allocations: 102.8 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2319, allocations: 0 / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.232, allocations: 48 / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.232, allocations: 96.91 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.232, allocations: 11.94 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.2322, allocations: 39.95 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.2323, allocations: 39.88 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007269/0.2331, allocations: 499.9 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005937/0.2337, allocations: 0.5586 MB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002813/0.234, allocations: 115.8 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.234, allocations: 116.9 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of Backend: time 4.01e-07/0.234, allocations: 0 / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.2348, allocations: 218.3 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004863/0.2353, allocations: 0.7041 MB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.004336/0.2396, allocations: 2.281 MB / 0.9079 GB, free: 56.37 MB / 0.6042 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)