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.Max.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.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.593/1.593, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001336/0.001337, allocations: 171.7 kB / 326.5 MB, free: 2.223 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.894/1.894, allocations: 205.4 MB / 0.5775 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.0008643/0.0008641, allocations: 90.38 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 13.09 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2005, allocations: 106.4 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001342/0.2019, allocations: 1.12 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002894/0.2022, allocations: 117.9 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.2023, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.2023, allocations: 3.938 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.2024, allocations: 7.984 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.267e-05/0.2025, allocations: 8 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.2025, allocations: 31.91 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.2026, allocations: 15.91 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.2027, allocations: 11.98 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.2027, allocations: 19.92 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2028, allocations: 0 / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.2028, allocations: 4 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.2028, allocations: 7.938 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.2028, allocations: 25.7 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.344e-05/0.2029, allocations: 27.94 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2029, allocations: 4 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2029, allocations: 0 / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2029, allocations: 0 / 0.9015 GB, free: 62.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000438/0.2034, allocations: 367.5 kB / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2034, allocations: 8.031 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.2034, allocations: 34.56 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.2035, allocations: 4 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.2036, allocations: 170.9 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2036, allocations: 4 kB / 0.9021 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2036, allocations: 0 / 0.9021 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.2039, allocations: 89.58 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2039, allocations: 0 / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2039, allocations: 0 / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2039, allocations: 3.938 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.2042, allocations: 87.92 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.2045, allocations: 264.9 kB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.2047, allocations: 70.48 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2047, allocations: 4 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.2047, allocations: 30.56 kB / 0.9026 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2047, allocations: 0 / 0.9026 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005073/0.2053, allocations: 161.7 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.2053, allocations: 51.41 kB / 0.9028 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.2053, allocations: 117.7 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2054, allocations: 25.7 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.2054, allocations: 91.98 kB / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.2054, allocations: 11.89 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2054, allocations: 8 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.2055, allocations: 314.8 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2056, allocations: 39.97 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.2058, allocations: 47.95 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2059, allocations: 36.25 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2059, allocations: 4 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000302/0.2062, allocations: 125.6 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2063, allocations: 8 kB / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2063, allocations: 0 / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2063, allocations: 0 / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.2064, allocations: 19.98 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.2064, allocations: 0 / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.2065, allocations: 23.92 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.2065, allocations: 3.953 kB / 0.9037 GB, free: 59.94 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 (3): * Single equations (assignments): 3 * 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 5.475e-05/0.2066, allocations: 113.8 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.2066, allocations: 7.906 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.207, allocations: 129.5 kB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.207, allocations: 0 / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.207, allocations: 0 / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.207, allocations: 0 / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.2071, allocations: 173.6 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2071, allocations: 0 / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.583e-05/0.2072, allocations: 27.97 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2072, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.2072, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2073, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2073, allocations: 3.938 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.2076, allocations: 219.3 kB / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.2076, allocations: 85.11 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2076, allocations: 7.922 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2077, allocations: 15.98 kB / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.2078, allocations: 0 / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2078, allocations: 0 / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.2078, allocations: 91.27 kB / 0.9045 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2078, allocations: 4 kB / 0.9045 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00021/0.2081, allocations: 8 kB / 0.9045 GB, free: 58.96 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005324/0.2086, allocations: 0.7591 MB / 0.9053 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.2089, allocations: 91.86 kB / 0.9054 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2089, allocations: 0 / 0.9054 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.2091, allocations: 47.97 kB / 0.9054 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.2093, allocations: 13.88 kB / 0.9054 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.2097, allocations: 166.1 kB / 0.9056 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.2098, allocations: 0.6887 MB / 0.9062 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.2099, allocations: 0 / 0.9062 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2099, allocations: 11.44 kB / 0.9063 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/0.2099, allocations: 0 / 0.9063 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.2225, allocations: 1.283 MB / 0.9075 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.2228, allocations: 191.5 kB / 0.9077 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.722, allocations: 0 / 0.9077 GB, free: 55.73 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)