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.151/2.151, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001052/0.001052, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.534/1.534, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009125/0.0009125, allocations: 91.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.113e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2356, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.418/4.654, allocations: 1.946 GB / 3.158 GB, free: 383.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/4.654, allocations: 95.8 kB / 3.158 GB, free: 383.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.58/10.23, allocations: 1.674 GB / 4.832 GB, free: 9.527 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.633e-06/10.23, allocations: 0 / 4.832 GB, free: 9.527 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004698/10.23, allocations: 59.98 kB / 4.832 GB, free: 9.469 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.009214/10.24, allocations: 2.54 MB / 4.835 GB, free: 6.879 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/10.24, allocations: 8.031 kB / 4.835 GB, free: 6.871 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009469/10.24, allocations: 202.6 kB / 4.835 GB, free: 6.664 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00776/10.25, allocations: 0.9881 MB / 4.836 GB, free: 5.672 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009803/10.26, allocations: 2.748 MB / 4.839 GB, free: 2.848 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/10.26, allocations: 118.7 kB / 4.839 GB, free: 2.73 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006559/10.26, allocations: 151.9 kB / 4.839 GB, free: 2.582 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/10.27, allocations: 1.553 MB / 4.84 GB, free: 0.9648 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/10.27, allocations: 4 kB / 4.84 GB, free: 0.9609 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/10.27, allocations: 60 kB / 4.841 GB, free: 0.9023 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.139e-05/10.27, allocations: 46.64 kB / 4.841 GB, free: 0.8555 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9447/11.21, allocations: 1.177 MB / 4.842 GB, free: 171.8 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.01728/11.23, allocations: 7.575 MB / 4.849 GB, free: 168.2 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/11.23, allocations: 0.9746 MB / 4.85 GB, free: 168 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/11.23, allocations: 444.4 kB / 4.85 GB, free: 168 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/11.23, allocations: 113.5 kB / 4.851 GB, free: 167.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/11.23, allocations: 42.69 kB / 4.851 GB, free: 167.9 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001566/11.23, allocations: 150.4 kB / 4.851 GB, free: 167.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=81): time 4.429e-06/11.23, allocations: 0 / 4.851 GB, free: 167.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=81): time 0.003073/11.24, allocations: 1.058 MB / 4.852 GB, free: 167.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/11.24, allocations: 61.44 kB / 4.852 GB, free: 167.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/11.24, allocations: 1.515 MB / 4.853 GB, free: 167.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/11.24, allocations: 49.08 kB / 4.853 GB, free: 167.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009631/11.24, allocations: 0.9838 MB / 4.854 GB, free: 167.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/11.24, allocations: 283.1 kB / 4.855 GB, free: 167 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/11.24, allocations: 20.84 kB / 4.855 GB, free: 167 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000114/11.24, allocations: 351.2 kB / 4.855 GB, free: 166.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/11.24, allocations: 346.7 kB / 4.855 GB, free: 166.7 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/11.24, allocations: 0.7635 MB / 4.856 GB, free: 166.2 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/11.25, allocations: 460.6 kB / 4.856 GB, free: 166.2 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/11.25, allocations: 3.969 kB / 4.857 GB, free: 166.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003446/11.25, allocations: 1.371 MB / 4.858 GB, free: 166 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001564/11.25, allocations: 3.967 MB / 4.862 GB, free: 161.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/11.25, allocations: 10.34 kB / 4.862 GB, free: 161.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007373/11.25, allocations: 148.8 kB / 4.862 GB, free: 161.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/11.25, allocations: 278 kB / 4.862 GB, free: 161.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/11.26, allocations: 3.525 MB / 4.866 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/11.26, allocations: 163.9 kB / 4.866 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/11.26, allocations: 59.62 kB / 4.866 GB, free: 158.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/11.26, allocations: 3.969 kB / 4.866 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003469/11.26, allocations: 1.213 MB / 4.867 GB, free: 158.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/11.26, allocations: 12.09 kB / 4.867 GB, free: 158.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/11.26, allocations: 139.2 kB / 4.867 GB, free: 158.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/11.26, allocations: 252.4 kB / 4.867 GB, free: 158.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/11.27, allocations: 3.248 MB / 4.871 GB, free: 156 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/11.27, allocations: 153.3 kB / 4.871 GB, free: 156 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/11.27, allocations: 57.28 kB / 4.871 GB, free: 156 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 (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.0005883/11.27, allocations: 171.3 kB / 4.871 GB, free: 155.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/11.27, allocations: 201.9 kB / 4.871 GB, free: 155.8 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/11.28, allocations: 1.199 MB / 4.872 GB, free: 155.6 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/11.28, allocations: 11.81 kB / 4.872 GB, free: 155.6 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/11.28, allocations: 1.875 kB / 4.872 GB, free: 155.6 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/11.28, allocations: 1.013 MB / 4.873 GB, free: 155.3 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.008019/11.29, allocations: 2.977 MB / 4.876 GB, free: 154.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/11.29, allocations: 4.188 kB / 4.876 GB, free: 154.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/11.29, allocations: 224.2 kB / 4.876 GB, free: 154.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/11.29, allocations: 117 kB / 4.876 GB, free: 154.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/11.29, allocations: 23.33 kB / 4.877 GB, free: 154.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/11.29, allocations: 4.779 MB / 4.881 GB, free: 150.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/11.29, allocations: 2 kB / 4.881 GB, free: 150.3 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/11.3, allocations: 1.801 MB / 4.883 GB, free: 149.8 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/11.3, allocations: 360.5 kB / 4.883 GB, free: 149.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/11.3, allocations: 23.05 kB / 4.883 GB, free: 149.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/11.3, allocations: 143.5 kB / 4.883 GB, free: 149.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/11.3, allocations: 52.25 kB / 4.884 GB, free: 149.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/11.3, allocations: 41.67 kB / 4.884 GB, free: 149.5 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002603/11.3, allocations: 1.172 MB / 4.885 GB, free: 149.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.51e-07/11.3, allocations: 0 / 4.885 GB, free: 149.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.007068/11.31, allocations: 1.418 MB / 4.886 GB, free: 149.3 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 (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.01073/11.32, allocations: 6.812 MB / 4.893 GB, free: 146.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004246/11.33, allocations: 1.906 MB / 4.895 GB, free: 145.9 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/11.33, allocations: 3.781 kB / 4.895 GB, free: 145.9 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/11.33, allocations: 0.6748 MB / 4.895 GB, free: 145.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/11.33, allocations: 1.003 MB / 4.896 GB, free: 145.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/11.34, allocations: 3.291 MB / 4.899 GB, free: 144.8 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/11.34, allocations: 1.628 MB / 4.901 GB, free: 144.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003629/11.34, allocations: 0.7474 MB / 4.902 GB, free: 144.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/11.35, allocations: 0.8169 MB / 4.903 GB, free: 144.1 MB / 1.198 GB Notification: Performance of SimCode: time 1.012e-06/11.35, allocations: 0 / 4.903 GB, free: 144.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2436/11.59, allocations: 118.1 MB / 5.018 GB, free: 141 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/11.59, allocations: 219 kB / 5.018 GB, free: 140.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.308/17.9, allocations: 0 / 5.018 GB, free: 140.7 MB / 1.198 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