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.Product.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.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.402/1.402, 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.0009799/0.0009801, allocations: 174.1 kB / 327 MB, free: 2.105 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.997/1.997, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0008267/0.0008266, allocations: 92.25 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 10.72 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2636, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001717/0.2653, allocations: 1.145 MB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000297/0.2657, allocations: 112.5 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.2657, allocations: 4 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2658, allocations: 3.984 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.2659, allocations: 7.938 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.211e-05/0.2659, allocations: 7.984 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.266, allocations: 47.8 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2661, allocations: 8 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.2662, allocations: 11.98 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.2663, allocations: 23.84 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2663, allocations: 4 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.2663, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.2663, allocations: 11.98 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.2664, allocations: 33.64 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.931e-05/0.2665, allocations: 43.73 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2665, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2665, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2665, allocations: 0 / 0.9024 GB, free: 61.89 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.0004746/0.267, allocations: 371.7 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.267, allocations: 8.031 kB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.2671, allocations: 38.73 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.2671, allocations: 4.938 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.797e-05/0.2672, allocations: 172.2 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2672, allocations: 384 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2672, allocations: 4.375 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.2675, allocations: 78.22 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2676, allocations: 3.938 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2676, allocations: 3.984 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2676, allocations: 4 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.2679, allocations: 83.92 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.2683, allocations: 276.9 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.2685, allocations: 66.47 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2686, allocations: 52.92 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2687, allocations: 4 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.2687, allocations: 30.56 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.2687, allocations: 0 / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005415/0.2692, allocations: 173.4 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2693, allocations: 51.41 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/0.2694, allocations: 105.8 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2694, allocations: 29.7 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.2694, allocations: 88.08 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.2695, allocations: 3.906 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.2695, allocations: 0 / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.2695, allocations: 326.8 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2697, allocations: 39.97 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2698, allocations: 43.95 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.2701, allocations: 96.72 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2701, allocations: 3.938 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003018/0.2704, allocations: 125.5 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2704, allocations: 4 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2704, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2705, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2706, allocations: 23.98 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2706, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.2707, allocations: 15.98 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2707, allocations: 0 / 0.9046 GB, free: 59.38 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 6.874e-05/0.2708, allocations: 125.7 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.2708, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.2709, allocations: 11.91 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2709, allocations: 0 / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2709, allocations: 4 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2709, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.271, allocations: 169.6 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.271, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.2711, allocations: 23.97 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2711, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.2712, allocations: 4 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2712, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2712, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.2715, allocations: 227.6 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.2715, allocations: 85.09 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2716, allocations: 0 / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.2717, allocations: 15.98 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.2717, allocations: 8 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.2717, allocations: 0 / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.2718, allocations: 87.27 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2718, allocations: 0 / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001982/0.272, allocations: 12 kB / 0.9053 GB, free: 58.52 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.0005626/0.2725, allocations: 0.7591 MB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.2729, allocations: 87.92 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2729, allocations: 0 / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.273, allocations: 43.97 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2734, allocations: 14.5 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.2738, allocations: 174.1 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.274, allocations: 0.6809 MB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.274, allocations: 3.984 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.2741, allocations: 11.44 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.2741, allocations: 4 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.2857, allocations: 1.301 MB / 0.9083 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.286, allocations: 224.3 kB / 0.9085 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.009, allocations: 0 / 0.9085 GB, free: 55.26 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)