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.Tan.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.Tan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.51/1.51, allocations: 252 MB / 267.3 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.0009408/0.0009409, allocations: 172.5 kB / 327 MB, free: 2.109 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.895/1.895, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007867/0.0007867, allocations: 86.3 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003302, allocations: 15.2 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002051/0.2028, allocations: 1.098 MB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004353/0.2033, allocations: 124.5 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2034, allocations: 0 / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.2035, allocations: 0 / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2036, allocations: 3.938 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.2038, allocations: 8 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.2039, allocations: 19.98 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.204, allocations: 8 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.2041, allocations: 15.86 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.2041, allocations: 7.984 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.2042, allocations: 4 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.2042, allocations: 0 / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.2042, allocations: 7.922 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.2043, allocations: 33.7 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.36e-05/0.2044, allocations: 15.91 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2044, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2044, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2044, allocations: 0 / 0.9022 GB, free: 62.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004284/0.2048, allocations: 339.6 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.2049, allocations: 8.031 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.2049, allocations: 30.75 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.205, allocations: 8.875 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2051, allocations: 168.6 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2051, allocations: 384 / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.2051, allocations: 12.36 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2054, allocations: 54.23 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2054, allocations: 7.875 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2054, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2054, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.2057, allocations: 43.97 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.206, allocations: 252.8 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.2062, allocations: 46.5 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.2064, allocations: 32.91 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2064, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2064, allocations: 42.48 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.2064, allocations: 0 / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005059/0.207, allocations: 97.66 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.207, allocations: 51.41 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.2071, allocations: 101.8 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2071, allocations: 29.83 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.2072, allocations: 84.14 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.2072, allocations: 7.891 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2072, allocations: 0 / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.2073, allocations: 318.8 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2074, allocations: 19.98 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2075, allocations: 27.92 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.2078, allocations: 48.81 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2078, allocations: 7.938 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002772/0.2081, allocations: 73.73 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2081, allocations: 4 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2081, allocations: 0 / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2081, allocations: 0 / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2083, allocations: 16.02 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2083, allocations: 0 / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.2083, allocations: 11.98 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.2084, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.025e-05/0.2084, allocations: 121.7 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.2085, allocations: 3.906 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.2088, allocations: 80.78 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2089, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2089, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2089, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2091, allocations: 161.6 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2091, allocations: 3.938 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.2092, allocations: 16.02 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2092, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.2092, allocations: 7.938 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2092, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2092, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.2096, allocations: 179.4 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.2096, allocations: 77.11 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2096, allocations: 4 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2098, allocations: 7.984 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.2098, allocations: 192 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2098, allocations: 4 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.831e-05/0.2099, allocations: 87.3 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2099, allocations: 4 kB / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003819/0.2103, allocations: 0 / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000619/0.2109, allocations: 0.7201 MB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2112, allocations: 44 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2112, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.2113, allocations: 23.98 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.2118, allocations: 7.984 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.2123, allocations: 130.5 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2124, allocations: 0.6809 MB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.2125, allocations: 0 / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.2125, allocations: 19.38 kB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2125, allocations: 0 / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.2274, allocations: 1.028 MB / 0.9074 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.2276, allocations: 208 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.975, allocations: 0 / 0.9076 GB, free: 56.21 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)