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.407/1.407, allocations: 252 MB / 268 MB, free: 10.84 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.001977/0.001977, allocations: 183.7 kB / 327.6 MB, free: 2.094 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.807/1.807, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.000835/0.0008352, allocations: 81.62 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 13.94 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2076, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001877/0.2095, allocations: 1.332 MB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000614/0.2101, allocations: 244.1 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2103, allocations: 0 / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.2103, allocations: 3.938 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.2105, allocations: 27.78 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.2108, allocations: 43.94 kB / 0.9031 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.211, allocations: 159.5 kB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2111, allocations: 17.5 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2113, allocations: 59.81 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2114, allocations: 71.66 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.2115, allocations: 8 kB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.783e-05/0.2115, allocations: 8 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.2116, allocations: 39.83 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.2116, allocations: 89.28 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2118, allocations: 112 kB / 0.9036 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2118, allocations: 0 / 0.9036 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2118, allocations: 0 / 0.9036 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.2118, allocations: 4 kB / 0.9036 GB, free: 61.26 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.0009493/0.2128, allocations: 494.8 kB / 0.9041 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2128, allocations: 11.97 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.2129, allocations: 16.84 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.2139, allocations: 336 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.2139, allocations: 12.31 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.214, allocations: 12.38 kB / 0.9045 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.2144, allocations: 182.9 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2144, allocations: 3.938 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.2145, allocations: 8 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2145, allocations: 0 / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.215, allocations: 167.8 kB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.2159, allocations: 0.5866 MB / 0.9054 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.2164, allocations: 215.7 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.2167, allocations: 98.61 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2168, allocations: 4 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.2172, allocations: 199.4 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.2172, allocations: 0 / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0009532/0.2182, allocations: 317.2 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.2183, allocations: 118.9 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2184, allocations: 158.2 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.2184, allocations: 41.69 kB / 0.9065 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.2185, allocations: 108.3 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.2185, allocations: 43.45 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.2185, allocations: 4 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.2186, allocations: 326.8 kB / 0.9069 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.2189, allocations: 107.8 kB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.2192, allocations: 147 kB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.2197, allocations: 198.3 kB / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2197, allocations: 0 / 0.9074 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006322/0.2204, allocations: 265.2 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2204, allocations: 4 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2204, allocations: 4 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2204, allocations: 4 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2207, allocations: 47.95 kB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2207, allocations: 4 kB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.221, allocations: 51.73 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.221, allocations: 8 kB / 0.9077 GB, free: 56.72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/0.2211, allocations: 133.7 kB / 0.9079 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2211, allocations: 7.906 kB / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.2214, allocations: 106.6 kB / 0.908 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2214, allocations: 4 kB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2214, allocations: 0 / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2214, allocations: 3.938 kB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.2216, allocations: 229.5 kB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2216, allocations: 0 / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2218, allocations: 35.97 kB / 0.9082 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2218, allocations: 0 / 0.9082 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2218, allocations: 12.73 kB / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2218, allocations: 0 / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2218, allocations: 7.938 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.2224, allocations: 274.4 kB / 0.9085 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.2224, allocations: 96.95 kB / 0.9086 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2225, allocations: 3.984 kB / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2227, allocations: 35.97 kB / 0.9087 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.2228, allocations: 47.86 kB / 0.9087 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2228, allocations: 8.281 kB / 0.9087 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.2229, allocations: 116.9 kB / 0.9088 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2229, allocations: 0 / 0.9088 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002157/0.2231, allocations: 28 kB / 0.9088 GB, free: 55.49 MB / 0.6042 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 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001324/0.2233, allocations: 112.2 kB / 0.909 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006491/0.2239, allocations: 223.8 kB / 0.9092 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.224, allocations: 0 / 0.9092 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.2243, allocations: 111.9 kB / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.2246, allocations: 27.27 kB / 0.9093 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.2252, allocations: 336.2 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.2253, allocations: 0.7089 MB / 0.9103 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.2254, allocations: 23.42 kB / 0.9103 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.2254, allocations: 0 / 0.9103 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.003736/0.2292, allocations: 2.147 MB / 0.9124 GB, free: 51.75 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)