Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.204/2.204, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001056/0.001056, allocations: 176.8 kB / 492.3 MB, free: 0.6211 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.415/1.415, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009008/0.0009009, allocations: 91.89 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.771e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2412, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/4.797, allocations: 1.946 GB / 3.158 GB, free: 383.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/4.797, allocations: 91.95 kB / 3.158 GB, free: 383.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.142/9.939, allocations: 1.674 GB / 4.832 GB, free: 10.34 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.164e-06/9.939, allocations: 0 / 4.832 GB, free: 10.34 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0005132/9.94, allocations: 59.98 kB / 4.832 GB, free: 10.28 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.008855/9.948, allocations: 2.521 MB / 4.834 GB, free: 7.711 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/9.948, allocations: 12.03 kB / 4.834 GB, free: 7.699 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000656/9.949, allocations: 194.6 kB / 4.834 GB, free: 7.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007276/9.956, allocations: 0.9882 MB / 4.835 GB, free: 6.508 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008815/9.965, allocations: 2.736 MB / 4.838 GB, free: 3.695 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/9.966, allocations: 114.7 kB / 4.838 GB, free: 3.582 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005689/9.966, allocations: 148 kB / 4.838 GB, free: 3.438 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/9.971, allocations: 1.533 MB / 4.84 GB, free: 1.84 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/9.971, allocations: 4 kB / 4.84 GB, free: 1.836 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/9.971, allocations: 56 kB / 4.84 GB, free: 1.781 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-05/9.971, allocations: 50.61 kB / 4.84 GB, free: 1.73 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/9.974, allocations: 1.178 MB / 4.841 GB, free: 0.5469 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.7974/10.77, allocations: 7.517 MB / 4.848 GB, free: 168.7 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/10.77, allocations: 0.9711 MB / 4.849 GB, free: 168.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006949/10.77, allocations: 441.4 kB / 4.85 GB, free: 168.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/10.77, allocations: 108.4 kB / 4.85 GB, free: 168.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/10.77, allocations: 42.55 kB / 4.85 GB, free: 168.3 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001299/10.78, allocations: 220.9 kB / 4.85 GB, free: 168.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=78): time 5.791e-06/10.78, allocations: 3.25 kB / 4.85 GB, free: 168.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=78): time 0.00266/10.78, allocations: 1.006 MB / 4.851 GB, free: 168.1 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/10.78, allocations: 60.5 kB / 4.851 GB, free: 168.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/10.78, allocations: 1.503 MB / 4.853 GB, free: 167.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/10.78, allocations: 49.47 kB / 4.853 GB, free: 167.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007915/10.78, allocations: 0.9736 MB / 4.854 GB, free: 167.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/10.78, allocations: 277.6 kB / 4.854 GB, free: 167.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/10.78, allocations: 21.77 kB / 4.854 GB, free: 167.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000112/10.78, allocations: 344.7 kB / 4.854 GB, free: 167.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/10.78, allocations: 341.1 kB / 4.855 GB, free: 167.1 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/10.78, allocations: 0.7589 MB / 4.855 GB, free: 166.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/10.78, allocations: 447.6 kB / 4.856 GB, free: 166.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/10.78, allocations: 2.375 kB / 4.856 GB, free: 166.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002946/10.79, allocations: 1.334 MB / 4.857 GB, free: 166.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007213/10.79, allocations: 3.962 MB / 4.861 GB, free: 162.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/10.79, allocations: 8.531 kB / 4.861 GB, free: 162.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/10.79, allocations: 111.8 kB / 4.861 GB, free: 162.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/10.79, allocations: 274.6 kB / 4.861 GB, free: 162.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/10.79, allocations: 2.383 MB / 4.864 GB, free: 160.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/10.79, allocations: 165.7 kB / 4.864 GB, free: 160.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/10.79, allocations: 63.83 kB / 4.864 GB, free: 160.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/10.79, allocations: 4.281 kB / 4.864 GB, free: 160.4 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002288/10.8, allocations: 1.094 MB / 4.865 GB, free: 160.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/10.8, allocations: 9.531 kB / 4.865 GB, free: 160.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/10.8, allocations: 99.84 kB / 4.865 GB, free: 160.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/10.8, allocations: 256.2 kB / 4.865 GB, free: 160.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/10.8, allocations: 1.775 MB / 4.867 GB, free: 159.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/10.8, allocations: 153.8 kB / 4.867 GB, free: 159.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/10.8, allocations: 54.12 kB / 4.867 GB, free: 159.1 MB / 1.198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003431/10.8, allocations: 172.7 kB / 4.867 GB, free: 158.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/10.8, allocations: 197.5 kB / 4.868 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/10.81, allocations: 1.075 MB / 4.869 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/10.81, allocations: 8.344 kB / 4.869 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/10.81, allocations: 0 / 4.869 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001781/10.81, allocations: 0.8991 MB / 4.87 GB, free: 158.6 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.006533/10.81, allocations: 2.97 MB / 4.872 GB, free: 157.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/10.81, allocations: 1.719 kB / 4.872 GB, free: 157.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/10.82, allocations: 208.7 kB / 4.873 GB, free: 157.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/10.82, allocations: 86.08 kB / 4.873 GB, free: 157.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/10.82, allocations: 26.92 kB / 4.873 GB, free: 157.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/10.82, allocations: 2.24 MB / 4.875 GB, free: 156.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/10.82, allocations: 5.938 kB / 4.875 GB, free: 156.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/10.82, allocations: 1.671 MB / 4.877 GB, free: 155.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/10.82, allocations: 348.9 kB / 4.877 GB, free: 155.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/10.82, allocations: 22.36 kB / 4.877 GB, free: 155.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/10.82, allocations: 141 kB / 4.877 GB, free: 155.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/10.82, allocations: 55.42 kB / 4.877 GB, free: 155.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/10.82, allocations: 33.64 kB / 4.877 GB, free: 155.4 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002029/10.83, allocations: 1.168 MB / 4.878 GB, free: 155.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.7e-07/10.83, allocations: 2.812 kB / 4.878 GB, free: 155.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005229/10.83, allocations: 1.38 MB / 4.88 GB, free: 155.2 MB / 1.198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009996/10.84, allocations: 6.687 MB / 4.886 GB, free: 152.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003655/10.84, allocations: 1.75 MB / 4.888 GB, free: 151.9 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/10.84, allocations: 3.219 kB / 4.888 GB, free: 151.9 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008929/10.85, allocations: 0.5245 MB / 4.888 GB, free: 151.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/10.85, allocations: 0.988 MB / 4.889 GB, free: 151.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/10.86, allocations: 3.256 MB / 4.893 GB, free: 151 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/10.86, allocations: 1.614 MB / 4.894 GB, free: 150.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004292/10.86, allocations: 0.7492 MB / 4.895 GB, free: 150.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/10.87, allocations: 0.8136 MB / 4.896 GB, free: 150.2 MB / 1.198 GB Notification: Performance of SimCode: time 8.82e-07/10.87, allocations: 3.094 kB / 4.896 GB, free: 150.2 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/11.08, allocations: 117.2 MB / 5.01 GB, free: 147.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/11.08, allocations: 226.7 kB / 5.01 GB, free: 147 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/17.67, allocations: 0 / 5.01 GB, free: 147 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat does not exist to compare? outputFormat=mat