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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 252 MB / 267 MB, free: 10.96 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.001035/0.001034, allocations: 170.2 kB / 326.6 MB, free: 2.215 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.956/1.956, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.000812/0.000812, allocations: 93.73 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003261, allocations: 16.53 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2025, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001671/0.2042, allocations: 1.305 MB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005258/0.2048, allocations: 240.2 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.2049, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.2049, allocations: 11.86 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2051, allocations: 15.86 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.2053, allocations: 39.94 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.2055, allocations: 151.5 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2056, allocations: 25.48 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2057, allocations: 51.83 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2058, allocations: 75.66 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.2059, allocations: 4 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.2059, allocations: 11.94 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.206, allocations: 23.91 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.206, allocations: 45.64 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2061, allocations: 119.9 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.2062, allocations: 0 / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2062, allocations: 0 / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.2062, allocations: 4 kB / 0.9024 GB, free: 61.63 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.0009023/0.2071, allocations: 490.7 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2071, allocations: 8.031 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.2072, allocations: 46.55 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.2073, allocations: 11.91 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2083, allocations: 342.5 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.2083, allocations: 7.984 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.2084, allocations: 12 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.2088, allocations: 178.7 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2088, allocations: 3.953 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2089, allocations: 4 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2089, allocations: 4 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.2094, allocations: 167.8 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008883/0.2103, allocations: 0.5867 MB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.2109, allocations: 207.7 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.2112, allocations: 102.6 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.2112, allocations: 4 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.2117, allocations: 187.8 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.2117, allocations: 0 / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0009872/0.2127, allocations: 321.2 kB / 0.905 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2128, allocations: 114.8 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2129, allocations: 162.2 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2129, allocations: 37.64 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.213, allocations: 112.3 kB / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.2131, allocations: 43.52 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.2131, allocations: 4 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.2131, allocations: 330.8 kB / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.2134, allocations: 99.78 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.2138, allocations: 147.1 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.2141, allocations: 99.92 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2141, allocations: 3.938 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006452/0.2147, allocations: 265.2 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2147, allocations: 4 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2148, allocations: 7.984 kB / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2148, allocations: 0 / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.215, allocations: 52.45 kB / 0.9064 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.215, allocations: 4 kB / 0.9064 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.2153, allocations: 51.8 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2153, allocations: 4 kB / 0.9064 GB, free: 57.17 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.0001173/0.2155, allocations: 133.7 kB / 0.9066 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.2155, allocations: 7.906 kB / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.2158, allocations: 106.6 kB / 0.9067 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2158, allocations: 8 kB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2158, allocations: 0 / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2158, allocations: 3.984 kB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.216, allocations: 229.4 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.216, allocations: 4 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.2161, allocations: 31.97 kB / 0.9069 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2161, allocations: 0 / 0.9069 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.2162, allocations: 11.98 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2162, allocations: 0 / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2162, allocations: 4 kB / 0.907 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.2168, allocations: 270.5 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.2168, allocations: 96.89 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.2168, allocations: 8 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2171, allocations: 35.97 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2172, allocations: 47.91 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2172, allocations: 4 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.2173, allocations: 116.9 kB / 0.9075 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2173, allocations: 0 / 0.9075 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002206/0.2175, allocations: 28 kB / 0.9075 GB, free: 55.95 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.0008566/0.2184, allocations: 0.8221 MB / 0.9083 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.219, allocations: 219.7 kB / 0.9085 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2191, allocations: 0 / 0.9085 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.2194, allocations: 115.9 kB / 0.9087 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2197, allocations: 23.98 kB / 0.9087 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.2218, allocations: 1.031 MB / 0.9097 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.222, allocations: 0.7128 MB / 0.9104 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.2221, allocations: 21.55 kB / 0.9104 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.2222, allocations: 47.41 kB / 0.9104 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.2222, allocations: 0 / 0.9104 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.2378, allocations: 3.445 MB / 0.9138 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.238, allocations: 203.6 kB / 0.914 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/1.964, allocations: 0 / 0.914 GB, free: 49.34 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)