Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 187.2 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.1 MB / 0.7948 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008943, allocations: 92.17 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 8.922 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 142.3 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.359/4.633, allocations: 1.946 GB / 3.169 GB, free: 2.977 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/4.634, allocations: 100.2 kB / 3.169 GB, free: 2.926 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.1/10.73, allocations: 1.675 GB / 4.844 GB, free: 109.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.575e-06/10.73, allocations: 4 kB / 4.844 GB, free: 109.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002856/10.73, allocations: 63.81 kB / 4.844 GB, free: 109.4 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.01029/10.74, allocations: 3.196 MB / 4.848 GB, free: 106.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/10.74, allocations: 15.97 kB / 4.848 GB, free: 106.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004614/10.75, allocations: 202.6 kB / 4.848 GB, free: 106 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/10.75, allocations: 0.9881 MB / 4.849 GB, free: 105 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007063/10.76, allocations: 2.779 MB / 4.851 GB, free: 102.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/10.76, allocations: 110.7 kB / 4.852 GB, free: 102 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/10.76, allocations: 148 kB / 4.852 GB, free: 101.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/10.76, allocations: 1.662 MB / 4.853 GB, free: 100.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/10.76, allocations: 0 / 4.853 GB, free: 100.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/10.76, allocations: 56 kB / 4.853 GB, free: 100.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/10.76, allocations: 54.3 kB / 4.853 GB, free: 100 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/10.77, allocations: 1.365 MB / 4.855 GB, free: 98.65 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009549/10.78, allocations: 7.568 MB / 4.862 GB, free: 90.52 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/10.78, allocations: 1.116 MB / 4.863 GB, free: 89.36 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/10.78, allocations: 117.7 kB / 4.863 GB, free: 89.23 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/10.78, allocations: 39.22 kB / 4.863 GB, free: 89.18 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/10.78, allocations: 163 kB / 4.864 GB, free: 89.02 MB / 1.182 GB Notification: Performance of pre-optimization done (n=81): time 3.837e-06/10.78, allocations: 0 / 4.864 GB, free: 89.02 MB / 1.182 GB Notification: Performance of matching and sorting (n=81): time 0.005289/10.78, allocations: 1.898 MB / 4.865 GB, free: 87.07 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/10.78, allocations: 68.02 kB / 4.865 GB, free: 86.99 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/10.79, allocations: 1.529 MB / 4.867 GB, free: 85.43 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 9.432e-05/10.79, allocations: 41.7 kB / 4.867 GB, free: 85.39 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/10.79, allocations: 0.9805 MB / 4.868 GB, free: 84.39 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/10.79, allocations: 279.9 kB / 4.868 GB, free: 84.11 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/10.79, allocations: 24 kB / 4.868 GB, free: 84.09 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/10.79, allocations: 353.9 kB / 4.869 GB, free: 83.74 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/10.79, allocations: 426.4 kB / 4.869 GB, free: 83.32 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/10.79, allocations: 0.849 MB / 4.87 GB, free: 82.29 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/10.79, allocations: 0.5282 MB / 4.87 GB, free: 81.76 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/10.79, allocations: 4 kB / 4.87 GB, free: 81.75 MB / 1.182 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003293/10.79, allocations: 1.555 MB / 4.872 GB, free: 80.18 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009034/10.79, allocations: 3.97 MB / 4.876 GB, free: 75.79 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/10.79, allocations: 12 kB / 4.876 GB, free: 75.78 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/10.79, allocations: 141.6 kB / 4.876 GB, free: 75.64 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/10.8, allocations: 287.5 kB / 4.876 GB, free: 75.36 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/10.8, allocations: 3.592 MB / 4.88 GB, free: 71.57 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/10.8, allocations: 163.7 kB / 4.88 GB, free: 71.41 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/10.8, allocations: 51.98 kB / 4.88 GB, free: 71.36 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/10.8, allocations: 4 kB / 4.88 GB, free: 71.35 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00374/10.81, allocations: 1.374 MB / 4.881 GB, free: 69.96 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.433e-05/10.81, allocations: 8 kB / 4.881 GB, free: 69.95 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/10.81, allocations: 153.9 kB / 4.881 GB, free: 69.79 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/10.81, allocations: 247.6 kB / 4.882 GB, free: 69.55 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/10.81, allocations: 3.332 MB / 4.885 GB, free: 65.95 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/10.81, allocations: 155.7 kB / 4.885 GB, free: 65.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/10.81, allocations: 55.98 kB / 4.885 GB, free: 65.74 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001904/10.82, allocations: 0.5828 MB / 4.886 GB, free: 65.15 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007886/10.82, allocations: 205.4 kB / 4.886 GB, free: 64.95 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/10.82, allocations: 1.374 MB / 4.887 GB, free: 63.54 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/10.82, allocations: 8 kB / 4.887 GB, free: 63.54 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/10.82, allocations: 0 / 4.887 GB, free: 63.54 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002603/10.82, allocations: 1.182 MB / 4.888 GB, free: 62.3 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007372/10.83, allocations: 3.131 MB / 4.891 GB, free: 59.04 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/10.83, allocations: 4 kB / 4.891 GB, free: 59.04 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/10.83, allocations: 232.1 kB / 4.892 GB, free: 58.81 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/10.83, allocations: 116.9 kB / 4.892 GB, free: 58.69 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/10.83, allocations: 23.98 kB / 4.892 GB, free: 58.67 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/10.84, allocations: 4.864 MB / 4.896 GB, free: 53.48 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/10.84, allocations: 384 / 4.896 GB, free: 53.48 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/10.84, allocations: 2.051 MB / 4.898 GB, free: 51.32 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/10.84, allocations: 362.5 kB / 4.899 GB, free: 50.95 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005283/10.84, allocations: 20 kB / 4.899 GB, free: 50.93 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/10.84, allocations: 139.7 kB / 4.899 GB, free: 50.79 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/10.84, allocations: 60.47 kB / 4.899 GB, free: 50.73 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/10.84, allocations: 39.97 kB / 4.899 GB, free: 50.7 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002256/10.85, allocations: 1.189 MB / 4.9 GB, free: 49.49 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.4e-07/10.85, allocations: 4 kB / 4.9 GB, free: 49.48 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00614/10.85, allocations: 1.423 MB / 4.902 GB, free: 48.06 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/10.86, allocations: 7.055 MB / 4.909 GB, free: 40.59 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005269/10.87, allocations: 2.084 MB / 4.911 GB, free: 38.47 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/10.87, allocations: 5.938 kB / 4.911 GB, free: 38.47 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/10.87, allocations: 0.751 MB / 4.911 GB, free: 37.69 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/10.88, allocations: 1.016 MB / 4.912 GB, free: 36.68 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/10.89, allocations: 11.93 MB / 4.924 GB, free: 24.48 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/10.89, allocations: 1.625 MB / 4.926 GB, free: 22.82 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003021/10.9, allocations: 0.4892 MB / 4.926 GB, free: 22.33 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/10.9, allocations: 0.8507 MB / 4.927 GB, free: 21.48 MB / 1.182 GB Notification: Performance of SimCode: time 1.312e-06/10.9, allocations: 4 kB / 4.927 GB, free: 21.48 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9186/11.82, allocations: 105.5 MB / 5.03 GB, free: 175.5 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/11.82, allocations: 254.5 kB / 5.03 GB, free: 175.2 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.71/17.53, allocations: 0 / 5.03 GB, free: 175.2 MB / 1.214 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat does not exist to compare? outputFormat=mat