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: 251.5 MB / 267.4 MB, free: 11.05 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.001055/0.001055, allocations: 173.3 kB / 326.5 MB, free: 2.672 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.893/1.893, allocations: 205 MB / 0.5766 GB, free: 20.99 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.001102/0.001102, allocations: 94.58 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 11.62 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2132, allocations: 105.4 MB / 0.8968 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001588/0.2148, allocations: 1.339 MB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004481/0.2153, allocations: 253.7 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.2154, allocations: 0 / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.2154, allocations: 7.938 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2155, allocations: 15.86 kB / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.2157, allocations: 51.88 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2159, allocations: 151.6 kB / 0.8985 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.216, allocations: 33.7 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.2161, allocations: 59.77 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.929e-05/0.2162, allocations: 71.66 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.2162, allocations: 4 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.2162, allocations: 8 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.2163, allocations: 31.83 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.2163, allocations: 63.64 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.2164, allocations: 111.7 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2164, allocations: 0 / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2165, allocations: 0 / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2165, allocations: 4 kB / 0.8989 GB, free: 65.9 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.000831/0.2173, allocations: 494.8 kB / 0.8994 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2173, allocations: 8.031 kB / 0.8994 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.2174, allocations: 12.84 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.2183, allocations: 344 kB / 0.8997 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.2183, allocations: 8.375 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2183, allocations: 16.31 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.2187, allocations: 182.7 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2188, allocations: 11.94 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2188, allocations: 0 / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2188, allocations: 0 / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.2193, allocations: 171.7 kB / 0.9001 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.22, allocations: 0.5906 MB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.2205, allocations: 207.7 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.2208, allocations: 102.5 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.2208, allocations: 3.984 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/0.2213, allocations: 193.8 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.2213, allocations: 0 / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.000882/0.2222, allocations: 325.2 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2223, allocations: 102.8 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2224, allocations: 166.2 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2224, allocations: 33.7 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.2225, allocations: 116.3 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2225, allocations: 43.45 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.2225, allocations: 25.7 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.2226, allocations: 330.8 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.2229, allocations: 99.78 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.2232, allocations: 150.4 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.2236, allocations: 190.4 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2236, allocations: 0 / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005928/0.2242, allocations: 277.2 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2243, allocations: 4 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2243, allocations: 0 / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2243, allocations: 4 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.2245, allocations: 43.95 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2246, allocations: 8 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.2248, allocations: 43.81 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2248, allocations: 7.984 kB / 0.903 GB, free: 61.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 (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.979e-05/0.2249, allocations: 134.7 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.225, allocations: 15.89 kB / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.2252, allocations: 106.5 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2252, allocations: 0 / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2253, allocations: 4 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2253, allocations: 3.938 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2254, allocations: 229.5 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2255, allocations: 4 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2256, allocations: 31.97 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2256, allocations: 3.938 kB / 0.9035 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.2256, allocations: 4.562 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2257, allocations: 3.984 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2257, allocations: 0 / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.2262, allocations: 282.4 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2263, allocations: 85.02 kB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2263, allocations: 8 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2265, allocations: 39.95 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2267, allocations: 43.88 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2267, allocations: 7.984 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.2267, allocations: 116.9 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2268, allocations: 0 / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000231/0.227, allocations: 35.94 kB / 0.9041 GB, free: 60.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 (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.0001541/0.2271, allocations: 117.7 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006265/0.2278, allocations: 220.1 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2278, allocations: 4.188 kB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.2281, allocations: 103.9 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.2284, allocations: 31.92 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.2289, allocations: 327.6 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.2291, allocations: 0.705 MB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.2292, allocations: 27.42 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.2292, allocations: 0 / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.003121/0.2323, allocations: 2.148 MB / 0.9077 GB, free: 56.38 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)