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.Division.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.Division,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",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.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001395/0.001395, allocations: 180.9 kB / 326.5 MB, free: 2.238 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.915/1.915, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008901/0.00089, allocations: 92.47 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 13.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Division): time 0.001401/0.2229, allocations: 1.128 MB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002551/0.2231, allocations: 109.8 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.2232, allocations: 0 / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.2232, allocations: 3.938 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.2233, allocations: 15.97 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.228e-05/0.2233, allocations: 4 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.2234, allocations: 23.97 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.2235, allocations: 11.98 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.2236, allocations: 15.92 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.2236, allocations: 23.91 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2237, allocations: 0 / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.2237, allocations: 3.938 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.2237, allocations: 4 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.2237, allocations: 33.64 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.76e-05/0.2238, allocations: 27.92 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2238, allocations: 0 / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2238, allocations: 7.938 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2238, allocations: 0 / 0.9015 GB, free: 62.91 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.0004438/0.2243, allocations: 363.5 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2243, allocations: 8.031 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.2243, allocations: 34.56 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.2244, allocations: 8 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.2245, allocations: 170.9 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2245, allocations: 4 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2245, allocations: 0 / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2248, allocations: 81.59 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2248, allocations: 4 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2248, allocations: 0 / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2249, allocations: 0 / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.2251, allocations: 87.92 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.2255, allocations: 264.9 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.2257, allocations: 70.47 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2257, allocations: 4 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2257, allocations: 38.64 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2257, allocations: 0 / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.2263, allocations: 157.6 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.2263, allocations: 51.41 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.559e-05/0.2264, allocations: 113.8 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.2264, allocations: 25.7 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.2264, allocations: 91.98 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.2264, allocations: 19.81 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2264, allocations: 0 / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.2265, allocations: 318.8 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2267, allocations: 39.97 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.2268, allocations: 47.95 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.2269, allocations: 35.97 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2269, allocations: 0 / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002988/0.2272, allocations: 129.5 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2273, allocations: 6.812 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2273, allocations: 0 / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2273, allocations: 4 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2274, allocations: 15.98 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2275, allocations: 320 / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.622e-05/0.2275, allocations: 19.98 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2275, allocations: 7.953 kB / 0.9037 GB, free: 60.52 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 6.099e-05/0.2276, allocations: 113.8 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.2276, allocations: 11.89 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.2277, allocations: 3.906 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2277, allocations: 3.938 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2277, allocations: 4 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2277, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2278, allocations: 169.6 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2278, allocations: 4 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.2279, allocations: 23.97 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2279, allocations: 0 / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.228, allocations: 0 / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.228, allocations: 7.984 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.228, allocations: 0 / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2283, allocations: 215.4 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.2283, allocations: 85.02 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2283, allocations: 3.984 kB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2285, allocations: 19.92 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.2285, allocations: 8 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2285, allocations: 0 / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.528e-05/0.2285, allocations: 83.27 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2285, allocations: 0 / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002025/0.2288, allocations: 16 kB / 0.9044 GB, free: 59.66 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.0004987/0.2293, allocations: 0.7479 MB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.2296, allocations: 95.89 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2296, allocations: 0 / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2297, allocations: 47.97 kB / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.23, allocations: 7.938 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.2304, allocations: 186 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.689e-05/0.2305, allocations: 0.6848 MB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.2305, allocations: 0 / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.2306, allocations: 11.44 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2306, allocations: 0 / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.2416, allocations: 1.279 MB / 0.9074 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.2418, allocations: 202 kB / 0.9076 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.859, allocations: 0 / 0.9076 GB, free: 56.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1)