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.408/1.408, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009993/0.0009993, allocations: 184 kB / 327.3 MB, free: 2.211 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.662/1.662, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0007851/0.0007853, allocations: 98.72 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003874, allocations: 11 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 106.4 MB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001603/0.2141, allocations: 1.297 MB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005103/0.2146, allocations: 248.2 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.2147, allocations: 0 / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.2147, allocations: 11.86 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.2148, allocations: 15.86 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.215, allocations: 43.94 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2152, allocations: 135.6 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2153, allocations: 33.41 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2154, allocations: 51.83 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2155, allocations: 71.72 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.2156, allocations: 7.938 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.323e-05/0.2156, allocations: 11.94 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.2156, allocations: 23.91 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2157, allocations: 53.62 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2158, allocations: 112 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2158, allocations: 0 / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2158, allocations: 4 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2158, allocations: 0 / 0.9029 GB, free: 61.75 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.000901/0.2168, allocations: 498.6 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2168, allocations: 8.031 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.2169, allocations: 15.84 kB / 0.9034 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.2178, allocations: 347.2 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2179, allocations: 4 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2179, allocations: 12 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.2183, allocations: 179.6 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.2184, allocations: 4 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.2184, allocations: 7.953 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2184, allocations: 0 / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.2189, allocations: 167.8 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.2197, allocations: 0.5867 MB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.2202, allocations: 215.7 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.2205, allocations: 98.61 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2205, allocations: 0 / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.221, allocations: 192.3 kB / 0.9052 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.221, allocations: 0 / 0.9052 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0008876/0.2219, allocations: 321.6 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.222, allocations: 106.8 kB / 0.9056 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2221, allocations: 162.2 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2221, allocations: 33.7 kB / 0.9058 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.2222, allocations: 120.3 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.2222, allocations: 39.52 kB / 0.9059 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.2222, allocations: 4 kB / 0.9059 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.2223, allocations: 330.8 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.2226, allocations: 107.7 kB / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.2229, allocations: 141.2 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.2232, allocations: 96 kB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2232, allocations: 0 / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005935/0.2238, allocations: 269.1 kB / 0.9068 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2238, allocations: 15.98 kB / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2238, allocations: 0 / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2238, allocations: 0 / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.2241, allocations: 51.91 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2241, allocations: 0 / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.2243, allocations: 55.8 kB / 0.9069 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.2244, allocations: 4 kB / 0.9069 GB, free: 57.34 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 9.829e-05/0.2245, allocations: 134 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2245, allocations: 15.89 kB / 0.9071 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.2247, allocations: 102.6 kB / 0.9072 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2248, allocations: 4 kB / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2248, allocations: 0 / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2248, allocations: 0 / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.2249, allocations: 225.4 kB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2249, allocations: 0 / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2251, allocations: 43.89 kB / 0.9074 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2251, allocations: 4 kB / 0.9074 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.2251, allocations: 4 kB / 0.9074 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2251, allocations: 4 kB / 0.9074 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2251, allocations: 0 / 0.9074 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.2257, allocations: 278.4 kB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.2258, allocations: 92.91 kB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.2258, allocations: 0 / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.226, allocations: 43.95 kB / 0.9078 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2262, allocations: 39.92 kB / 0.9079 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2262, allocations: 12.05 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.426e-05/0.2262, allocations: 112.9 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2263, allocations: 0 / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000224/0.2265, allocations: 32 kB / 0.908 GB, free: 56.11 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 (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.0001443/0.2266, allocations: 111.2 kB / 0.9081 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.2273, allocations: 227.8 kB / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2273, allocations: 0 / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.2276, allocations: 107.9 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.2279, allocations: 23.98 kB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.2284, allocations: 339.4 kB / 0.9088 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2286, allocations: 0.7128 MB / 0.9095 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.2287, allocations: 19.44 kB / 0.9095 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2287, allocations: 0 / 0.9095 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.003285/0.232, allocations: 2.161 MB / 0.9116 GB, free: 52.36 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)