Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.381/2.381, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001306/0.001305, allocations: 184.2 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.498/2.498, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.0008823/0.0008818, allocations: 91.77 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005015, allocations: 15.09 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001992/0.2237, allocations: 1.305 MB / 0.9008 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.2243, allocations: 232.2 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.2244, allocations: 7.938 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.2245, allocations: 7.938 kB / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.2246, allocations: 19.84 kB / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.2249, allocations: 43.88 kB / 0.9011 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.2251, allocations: 143.6 kB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2252, allocations: 21.5 kB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2253, allocations: 59.81 kB / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2255, allocations: 79.58 kB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.2255, allocations: 8 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.077e-05/0.2256, allocations: 8 kB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.2256, allocations: 27.84 kB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.2257, allocations: 45.64 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.2258, allocations: 108 kB / 0.9016 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2258, allocations: 4 kB / 0.9016 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2258, allocations: 0 / 0.9016 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2259, allocations: 0 / 0.9016 GB, free: 63.34 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.00134/0.2272, allocations: 498.8 kB / 0.9021 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2273, allocations: 8.031 kB / 0.9021 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.2273, allocations: 16.75 kB / 0.9021 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.2291, allocations: 345.2 kB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.2292, allocations: 8.375 kB / 0.9024 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.2292, allocations: 8.375 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.23, allocations: 186.7 kB / 0.9026 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.23, allocations: 7.938 kB / 0.9026 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.23, allocations: 0 / 0.9026 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2301, allocations: 4 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.231, allocations: 167.8 kB / 0.9028 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2323, allocations: 0.5867 MB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.2333, allocations: 207.7 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.2338, allocations: 98.61 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.2339, allocations: 7.984 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007448/0.2346, allocations: 189.8 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.2346, allocations: 0 / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001674/0.2363, allocations: 313.3 kB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2364, allocations: 106.8 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2366, allocations: 168 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.2366, allocations: 37.64 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.2367, allocations: 116.3 kB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2368, allocations: 47.52 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.2368, allocations: 4 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.2369, allocations: 330.8 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.2374, allocations: 99.78 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.238, allocations: 145.1 kB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.2385, allocations: 99.75 kB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2386, allocations: 4 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001186/0.2398, allocations: 261.9 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2398, allocations: 4 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2398, allocations: 4 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2399, allocations: 0 / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.2403, allocations: 51.89 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2403, allocations: 4 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.2408, allocations: 43.88 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2408, allocations: 11.92 kB / 0.9056 GB, free: 58.93 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 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.241, allocations: 142 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.241, allocations: 11.89 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.2414, allocations: 98.64 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2415, allocations: 4 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2415, allocations: 0 / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.543e-05/0.2415, allocations: 92.92 kB / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.2416, allocations: 15.86 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.242, allocations: 31.97 kB / 0.906 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.2422, allocations: 51.91 kB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001501/0.2437, allocations: 491.3 kB / 0.9065 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001172/0.2449, allocations: 0.5478 MB / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000586/0.2455, allocations: 111.9 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001069/0.2457, allocations: 122.8 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of Backend: time 6.91e-07/0.2457, allocations: 0 / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.247, allocations: 214.6 kB / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008129/0.2478, allocations: 0.7157 MB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.007116/0.2549, allocations: 2.211 MB / 0.9103 GB, free: 54 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)