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.453/1.453, allocations: 252 MB / 267.3 MB, free: 10.85 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.00125/0.00125, allocations: 180.5 kB / 327 MB, free: 2.086 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.752/1.752, 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.0007539/0.0007539, allocations: 90.03 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 11.56 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001536/0.2204, allocations: 1.141 MB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.2207, allocations: 120.5 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.2208, allocations: 0 / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.2208, allocations: 0 / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2209, allocations: 3.938 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.221, allocations: 11.98 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.2211, allocations: 47.78 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2212, allocations: 15.98 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.2213, allocations: 12 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.2214, allocations: 23.84 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.2214, allocations: 4 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.2214, allocations: 0 / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.2214, allocations: 0 / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.2215, allocations: 45.56 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.758e-05/0.2216, allocations: 39.86 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2216, allocations: 4 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2216, allocations: 0 / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2216, allocations: 0 / 0.9024 GB, free: 61.92 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.0004596/0.2221, allocations: 367.7 kB / 0.9027 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2221, allocations: 8.031 kB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.2222, allocations: 38.75 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.2222, allocations: 4.938 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2223, allocations: 172.2 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2223, allocations: 384 / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.2223, allocations: 384 / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.2226, allocations: 86.2 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2226, allocations: 3.938 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2226, allocations: 3.984 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2227, allocations: 4 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.223, allocations: 87.92 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2233, allocations: 264.9 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.2235, allocations: 74.47 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2236, allocations: 48.92 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2237, allocations: 11.92 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2237, allocations: 30.56 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2237, allocations: 0 / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005224/0.2242, allocations: 165.4 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2243, allocations: 55.41 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.2243, allocations: 105.8 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.2244, allocations: 25.7 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.2244, allocations: 96.06 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.2244, allocations: 3.906 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.2244, allocations: 0 / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.2245, allocations: 318.8 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2246, allocations: 43.95 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2248, allocations: 39.97 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.225, allocations: 104.7 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2251, allocations: 0 / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002967/0.2254, allocations: 125.5 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2254, allocations: 4 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2254, allocations: 0 / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2254, allocations: 0 / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2255, allocations: 23.97 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2256, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.2256, allocations: 19.98 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2257, allocations: 0 / 0.9046 GB, free: 59.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.2257, allocations: 117.8 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2257, allocations: 0 / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.2261, allocations: 133.5 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2261, allocations: 0 / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2261, allocations: 0 / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2261, allocations: 3.984 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2262, allocations: 177.6 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2263, allocations: 0 / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.2264, allocations: 19.98 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2264, allocations: 384 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2264, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2264, allocations: 4 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2264, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.2267, allocations: 227.3 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.2267, allocations: 77.11 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2268, allocations: 4 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2269, allocations: 15.98 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.2269, allocations: 7.984 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2269, allocations: 3.938 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.227, allocations: 95.2 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.227, allocations: 4 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001981/0.2272, allocations: 4 kB / 0.9055 GB, free: 58.41 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 (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.000562/0.2277, allocations: 0.7475 MB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.2281, allocations: 95.91 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2281, allocations: 3.938 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.2282, allocations: 43.97 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2285, allocations: 11.94 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.229, allocations: 170.1 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.2291, allocations: 0.6809 MB / 0.9072 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.2291, allocations: 4 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.2292, allocations: 11.44 kB / 0.9072 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.2292, allocations: 0 / 0.9072 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.2393, allocations: 1.316 MB / 0.9085 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.2395, allocations: 206.3 kB / 0.9087 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.868, allocations: 0 / 0.9087 GB, free: 55.14 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)