Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",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.217/2.217, 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.001283/0.001283, allocations: 179 kB / 498.1 MB, free: 5.738 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.52/1.52, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001006/0.001006, allocations: 92.22 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004635, allocations: 9.906 kB / 1.084 GB, free: 221.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.127/4.411, allocations: 1.95 GB / 3.173 GB, free: 60.43 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/4.411, allocations: 96.84 kB / 3.173 GB, free: 60.34 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 16.88/21.29, allocations: 4.402 GB / 7.576 GB, free: 116.4 MB / 1.323 GB Notification: Performance of FrontEnd: time 1.162e-06/21.29, allocations: 5.625 kB / 7.576 GB, free: 116.4 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.001419/21.29, allocations: 146.2 kB / 7.576 GB, free: 116.4 MB / 1.323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.0385/21.33, allocations: 10.53 MB / 7.586 GB, free: 113.7 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/21.33, allocations: 9.156 kB / 7.586 GB, free: 113.7 MB / 1.323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002365/21.34, allocations: 404 kB / 7.587 GB, free: 113.6 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/21.35, allocations: 1.794 MB / 7.588 GB, free: 113.3 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03067/21.38, allocations: 11.03 MB / 7.599 GB, free: 112.1 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/21.38, allocations: 260.5 kB / 7.599 GB, free: 112.1 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/21.38, allocations: 350 kB / 7.6 GB, free: 112.1 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/21.4, allocations: 4.033 MB / 7.604 GB, free: 111.8 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/21.4, allocations: 8.188 kB / 7.604 GB, free: 111.8 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009544/21.4, allocations: 123.9 kB / 7.604 GB, free: 111.8 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/21.4, allocations: 110.2 kB / 7.604 GB, free: 111.7 MB / 1.323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00776/21.4, allocations: 3.129 MB / 7.607 GB, free: 111.7 MB / 1.323 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.03483/21.44, allocations: 19.58 MB / 7.626 GB, free: 103.8 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/21.45, allocations: 2.904 MB / 7.629 GB, free: 103.3 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/21.45, allocations: 229.3 kB / 7.629 GB, free: 103.1 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003094/21.45, allocations: 1.752 MB / 7.631 GB, free: 103.1 MB / 1.323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004341/21.45, allocations: 414.1 kB / 7.631 GB, free: 102.9 MB / 1.323 GB Notification: Performance of pre-optimization done (n=180): time 1.826e-05/21.45, allocations: 0 / 7.631 GB, free: 102.9 MB / 1.323 GB Notification: Performance of matching and sorting (n=180): time 0.01043/21.46, allocations: 4.091 MB / 7.635 GB, free: 102.4 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/21.46, allocations: 73 kB / 7.635 GB, free: 102.3 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01665/21.48, allocations: 6.251 MB / 7.641 GB, free: 101.9 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/21.48, allocations: 83.27 kB / 7.641 GB, free: 101.9 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.005042/21.49, allocations: 2.654 MB / 7.644 GB, free: 101.3 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/21.49, allocations: 0.6272 MB / 7.645 GB, free: 100.9 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008492/21.49, allocations: 52.12 kB / 7.645 GB, free: 100.9 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.0003857/21.49, allocations: 426.8 kB / 7.645 GB, free: 100.6 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/21.49, allocations: 1.236 MB / 7.646 GB, free: 100.6 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/21.5, allocations: 2.453 MB / 7.649 GB, free: 99.09 MB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/21.5, allocations: 1.585 MB / 7.65 GB, free: 99.03 MB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.484e-05/21.5, allocations: 10.97 kB / 7.65 GB, free: 99.03 MB / 1.323 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01009/21.51, allocations: 4.213 MB / 7.654 GB, free: 98.61 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003223/21.51, allocations: 15.07 MB / 7.669 GB, free: 82.86 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.578e-05/21.51, allocations: 31.06 kB / 7.669 GB, free: 82.86 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/21.52, allocations: 244 kB / 7.669 GB, free: 82.84 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/21.52, allocations: 0.687 MB / 7.67 GB, free: 82.84 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/21.52, allocations: 3.447 MB / 7.673 GB, free: 80.04 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006993/21.53, allocations: 382.3 kB / 7.674 GB, free: 80.02 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/21.53, allocations: 255.9 kB / 7.674 GB, free: 80.02 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/21.53, allocations: 2.156 kB / 7.674 GB, free: 80.02 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/21.54, allocations: 4.148 MB / 7.678 GB, free: 79.91 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/21.54, allocations: 33.27 kB / 7.678 GB, free: 79.91 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/21.54, allocations: 0.5436 MB / 7.679 GB, free: 79.89 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/21.55, allocations: 0.6856 MB / 7.679 GB, free: 79.89 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009987/21.56, allocations: 7.441 MB / 7.686 GB, free: 76.73 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/21.56, allocations: 393.8 kB / 7.687 GB, free: 76.71 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007924/21.56, allocations: 218.3 kB / 7.687 GB, free: 76.71 MB / 1.323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 4 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.004592/21.57, allocations: 1.536 MB / 7.689 GB, free: 76.5 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002011/21.57, allocations: 0.5204 MB / 7.689 GB, free: 76.21 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008494/21.58, allocations: 3.208 MB / 7.692 GB, free: 76.02 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/21.58, allocations: 18.06 kB / 7.692 GB, free: 76.02 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/21.58, allocations: 0 / 7.692 GB, free: 76.02 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004714/21.58, allocations: 2.73 MB / 7.695 GB, free: 75.5 MB / 1.323 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.02018/21.6, allocations: 8.659 MB / 7.703 GB, free: 74.62 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/21.6, allocations: 9.422 kB / 7.703 GB, free: 74.62 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/21.61, allocations: 0.499 MB / 7.704 GB, free: 74.61 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/21.61, allocations: 238.7 kB / 7.704 GB, free: 74.59 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/21.61, allocations: 60.33 kB / 7.704 GB, free: 74.59 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/21.61, allocations: 3.294 MB / 7.707 GB, free: 71.79 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/21.61, allocations: 10.08 kB / 7.707 GB, free: 71.79 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008927/21.62, allocations: 4.993 MB / 7.712 GB, free: 70.59 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003943/21.62, allocations: 1.169 MB / 7.713 GB, free: 70.2 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/21.62, allocations: 43.28 kB / 7.713 GB, free: 70.2 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004685/21.63, allocations: 326 kB / 7.714 GB, free: 70.18 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/21.63, allocations: 130.8 kB / 7.714 GB, free: 70.17 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/21.63, allocations: 97.75 kB / 7.714 GB, free: 70.17 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.01041/21.64, allocations: 4.769 MB / 7.719 GB, free: 69.95 MB / 1.323 GB Notification: Performance of sort global known variables: time 5.31e-07/21.64, allocations: 0 / 7.719 GB, free: 69.95 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.01494/21.65, allocations: 3.425 MB / 7.722 GB, free: 69.66 MB / 1.323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (fan1.vol.dynBal.medium.Xi[1],fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.medium.Xi[1],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan2.vol.dynBal.medium.Xi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan4.vol.dynBal.medium.Xi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02587/21.68, allocations: 16.83 MB / 7.738 GB, free: 61.61 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.01312/21.69, allocations: 5.582 MB / 7.744 GB, free: 61.18 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/21.69, allocations: 3.875 kB / 7.744 GB, free: 61.18 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.003027/21.7, allocations: 1.318 MB / 7.745 GB, free: 61.16 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01561/21.71, allocations: 3.147 MB / 7.748 GB, free: 61.05 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05574/21.77, allocations: 35.92 MB / 7.783 GB, free: 49.61 MB / 1.339 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006757/21.77, allocations: 3.424 MB / 7.787 GB, free: 48.78 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.01056/21.78, allocations: 1.612 MB / 7.788 GB, free: 48.73 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005024/21.79, allocations: 2.549 MB / 7.791 GB, free: 48.72 MB / 1.339 GB Notification: Performance of SimCode: time 1.804e-06/21.79, allocations: 0 / 7.791 GB, free: 48.72 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.325/23.11, allocations: 271.2 MB / 8.055 GB, free: 132 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/23.11, allocations: 255.5 kB / 8.056 GB, free: 131.7 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/35.39, allocations: 0 / 8.056 GB, free: 131.7 MB / 1.339 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachine_res.mat does not exist to compare? outputFormat=mat