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.263/2.263, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001363/0.001363, allocations: 185 kB / 498.1 MB, free: 5.727 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.563/1.563, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.001014/0.001014, allocations: 96.27 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 9.531 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3276, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.243/4.57, allocations: 1.946 GB / 3.169 GB, free: 31.22 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/4.571, allocations: 99.94 kB / 3.169 GB, free: 31.12 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.949/10.52, allocations: 1.675 GB / 4.844 GB, free: 132.4 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.694e-06/10.52, allocations: 0 / 4.844 GB, free: 132.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002525/10.52, allocations: 64.14 kB / 4.844 GB, free: 132.3 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.00913/10.53, allocations: 3.179 MB / 4.847 GB, free: 129.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/10.53, allocations: 11.72 kB / 4.847 GB, free: 129.1 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005677/10.53, allocations: 198.6 kB / 4.847 GB, free: 128.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006867/10.54, allocations: 0.9933 MB / 4.848 GB, free: 127.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007618/10.54, allocations: 2.752 MB / 4.851 GB, free: 125 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/10.54, allocations: 110.7 kB / 4.851 GB, free: 124.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/10.54, allocations: 147.9 kB / 4.851 GB, free: 124.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/10.55, allocations: 1.642 MB / 4.853 GB, free: 123.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/10.55, allocations: 7.891 kB / 4.853 GB, free: 123.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/10.55, allocations: 60 kB / 4.853 GB, free: 123 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/10.55, allocations: 50.61 kB / 4.853 GB, free: 123 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/10.55, allocations: 1.365 MB / 4.854 GB, free: 121.6 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.01039/10.56, allocations: 7.508 MB / 4.861 GB, free: 113.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/10.56, allocations: 1.097 MB / 4.863 GB, free: 112.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/10.56, allocations: 121.7 kB / 4.863 GB, free: 112.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/10.56, allocations: 39.22 kB / 4.863 GB, free: 112.2 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001372/10.56, allocations: 219 kB / 4.863 GB, free: 112 MB / 1.182 GB Notification: Performance of pre-optimization done (n=78): time 3.857e-06/10.56, allocations: 4 kB / 4.863 GB, free: 112 MB / 1.182 GB Notification: Performance of matching and sorting (n=78): time 0.005048/10.57, allocations: 1.724 MB / 4.865 GB, free: 110.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/10.57, allocations: 60.06 kB / 4.865 GB, free: 110.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/10.57, allocations: 1.521 MB / 4.866 GB, free: 108.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/10.57, allocations: 49.7 kB / 4.866 GB, free: 108.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.000617/10.57, allocations: 0.9764 MB / 4.867 GB, free: 107.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/10.57, allocations: 272 kB / 4.867 GB, free: 107.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/10.57, allocations: 20 kB / 4.867 GB, free: 107.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/10.57, allocations: 349.9 kB / 4.868 GB, free: 106.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000915/10.57, allocations: 426 kB / 4.868 GB, free: 106.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/10.57, allocations: 0.844 MB / 4.869 GB, free: 105.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/10.58, allocations: 0.5242 MB / 4.87 GB, free: 104.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/10.58, allocations: 4 kB / 4.87 GB, free: 104.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003415/10.58, allocations: 1.511 MB / 4.871 GB, free: 103.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.000783/10.58, allocations: 3.954 MB / 4.875 GB, free: 99.04 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/10.58, allocations: 11.95 kB / 4.875 GB, free: 99.03 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/10.58, allocations: 124.6 kB / 4.875 GB, free: 98.91 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/10.58, allocations: 271.6 kB / 4.875 GB, free: 98.64 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/10.58, allocations: 2.439 MB / 4.878 GB, free: 96.05 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/10.59, allocations: 167.5 kB / 4.878 GB, free: 95.89 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/10.59, allocations: 55.98 kB / 4.878 GB, free: 95.84 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/10.59, allocations: 7.984 kB / 4.878 GB, free: 95.83 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002661/10.59, allocations: 1.25 MB / 4.879 GB, free: 94.57 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/10.59, allocations: 16.06 kB / 4.879 GB, free: 94.55 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/10.59, allocations: 113.2 kB / 4.879 GB, free: 94.44 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009346/10.59, allocations: 251.6 kB / 4.879 GB, free: 94.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/10.59, allocations: 1.826 MB / 4.881 GB, free: 92.23 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/10.59, allocations: 160 kB / 4.881 GB, free: 92.07 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/10.59, allocations: 51.98 kB / 4.881 GB, free: 92.02 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 (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.001421/10.6, allocations: 0.5953 MB / 4.882 GB, free: 91.42 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/10.6, allocations: 189.6 kB / 4.882 GB, free: 91.23 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/10.6, allocations: 1.252 MB / 4.883 GB, free: 89.98 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/10.6, allocations: 8 kB / 4.883 GB, free: 89.97 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/10.6, allocations: 0 / 4.883 GB, free: 89.97 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002443/10.6, allocations: 1.059 MB / 4.884 GB, free: 88.88 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.006603/10.61, allocations: 3.116 MB / 4.887 GB, free: 85.63 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/10.61, allocations: 0 / 4.887 GB, free: 85.63 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/10.61, allocations: 207.9 kB / 4.888 GB, free: 85.43 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003209/10.61, allocations: 96.64 kB / 4.888 GB, free: 85.34 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/10.61, allocations: 27.94 kB / 4.888 GB, free: 85.31 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/10.61, allocations: 2.308 MB / 4.89 GB, free: 82.84 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/10.61, allocations: 4 kB / 4.89 GB, free: 82.84 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004011/10.62, allocations: 1.926 MB / 4.892 GB, free: 80.84 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/10.62, allocations: 354.6 kB / 4.892 GB, free: 80.47 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/10.62, allocations: 12 kB / 4.892 GB, free: 80.46 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/10.62, allocations: 147.6 kB / 4.892 GB, free: 80.32 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/10.62, allocations: 60.52 kB / 4.892 GB, free: 80.26 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/10.62, allocations: 31.97 kB / 4.893 GB, free: 80.23 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001706/10.62, allocations: 1.185 MB / 4.894 GB, free: 79.02 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.51e-07/10.62, allocations: 0 / 4.894 GB, free: 79.02 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004541/10.63, allocations: 1.373 MB / 4.895 GB, free: 77.65 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 (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.009453/10.64, allocations: 6.939 MB / 4.902 GB, free: 70.38 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004332/10.64, allocations: 1.924 MB / 4.904 GB, free: 68.44 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/10.64, allocations: 3.938 kB / 4.904 GB, free: 68.43 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/10.64, allocations: 0.6165 MB / 4.904 GB, free: 67.81 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/10.65, allocations: 0.9887 MB / 4.905 GB, free: 66.85 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/10.65, allocations: 11.87 MB / 4.917 GB, free: 54.71 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/10.66, allocations: 1.613 MB / 4.918 GB, free: 53.07 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002517/10.66, allocations: 0.4992 MB / 4.919 GB, free: 52.59 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/10.66, allocations: 0.839 MB / 4.92 GB, free: 51.75 MB / 1.182 GB Notification: Performance of SimCode: time 1.443e-06/10.66, allocations: 0 / 4.92 GB, free: 51.75 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7995/11.46, allocations: 104.6 MB / 5.022 GB, free: 199.1 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/11.46, allocations: 266.5 kB / 5.022 GB, free: 198.7 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.425/16.88, allocations: 0 / 5.022 GB, free: 198.7 MB / 1.214 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