Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",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.191/2.191, 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.001172/0.001173, allocations: 181 kB / 498.1 MB, free: 5.766 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.478/1.478, allocations: 223.2 MB / 0.7948 GB, free: 18.93 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.0009083/0.0009083, allocations: 102 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003587, allocations: 12.09 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2736, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.2/4.474, allocations: 1.95 GB / 3.173 GB, free: 26.69 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/4.474, allocations: 95.95 kB / 3.173 GB, free: 26.59 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 17.04/21.52, allocations: 4.426 GB / 7.6 GB, free: 101.3 MB / 1.307 GB Notification: Performance of FrontEnd: time 3.386e-06/21.52, allocations: 0 / 7.6 GB, free: 101.3 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.001613/21.52, allocations: 159.1 kB / 7.6 GB, free: 101.2 MB / 1.307 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.0398/21.56, allocations: 10.86 MB / 7.61 GB, free: 98.02 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/21.56, allocations: 11.41 kB / 7.61 GB, free: 98.02 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002661/21.56, allocations: 447.9 kB / 7.611 GB, free: 97.96 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/21.58, allocations: 1.993 MB / 7.613 GB, free: 97.58 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03528/21.61, allocations: 11.27 MB / 7.624 GB, free: 96.4 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/21.61, allocations: 277.1 kB / 7.624 GB, free: 96.39 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/21.62, allocations: 372 kB / 7.624 GB, free: 96.39 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/21.63, allocations: 4.354 MB / 7.629 GB, free: 96.06 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/21.63, allocations: 9.547 kB / 7.629 GB, free: 96.06 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004685/21.63, allocations: 130.1 kB / 7.629 GB, free: 96.06 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/21.63, allocations: 121.6 kB / 7.629 GB, free: 96.05 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008558/21.64, allocations: 3.436 MB / 7.632 GB, free: 96.02 MB / 1.307 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.03682/21.68, allocations: 20.42 MB / 7.652 GB, free: 88.35 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/21.68, allocations: 3.355 MB / 7.656 GB, free: 87.93 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/21.68, allocations: 230.8 kB / 7.656 GB, free: 87.74 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00353/21.69, allocations: 1.944 MB / 7.658 GB, free: 87.66 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003822/21.69, allocations: 349 kB / 7.658 GB, free: 87.55 MB / 1.307 GB Notification: Performance of pre-optimization done (n=211): time 9.978e-06/21.69, allocations: 5.344 kB / 7.658 GB, free: 87.55 MB / 1.307 GB Notification: Performance of matching and sorting (n=211): time 0.01107/21.7, allocations: 4.58 MB / 7.662 GB, free: 86.94 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/21.7, allocations: 78.03 kB / 7.663 GB, free: 86.88 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01464/21.72, allocations: 6.394 MB / 7.669 GB, free: 86.49 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.00167/21.72, allocations: 89.7 kB / 7.669 GB, free: 86.46 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.003714/21.72, allocations: 2.766 MB / 7.672 GB, free: 85.84 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/21.72, allocations: 0.7331 MB / 7.672 GB, free: 85.36 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/21.72, allocations: 56.86 kB / 7.672 GB, free: 85.36 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0002743/21.72, allocations: 438.5 kB / 7.673 GB, free: 85.05 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/21.73, allocations: 1.378 MB / 7.674 GB, free: 85.04 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/21.73, allocations: 2.594 MB / 7.677 GB, free: 83.61 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/21.73, allocations: 1.731 MB / 7.678 GB, free: 83.53 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/21.73, allocations: 10.84 kB / 7.678 GB, free: 83.53 MB / 1.307 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01093/21.74, allocations: 4.58 MB / 7.683 GB, free: 83.06 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.003804/21.75, allocations: 14.76 MB / 7.697 GB, free: 67.76 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.172e-05/21.75, allocations: 31.53 kB / 7.697 GB, free: 67.76 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009474/21.75, allocations: 247 kB / 7.697 GB, free: 67.74 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005434/21.75, allocations: 0.7883 MB / 7.698 GB, free: 67.74 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/21.76, allocations: 3.442 MB / 7.702 GB, free: 64.94 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007527/21.77, allocations: 412.5 kB / 7.702 GB, free: 64.91 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009747/21.77, allocations: 274.8 kB / 7.702 GB, free: 64.91 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/21.77, allocations: 4.094 kB / 7.702 GB, free: 64.91 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01194/21.78, allocations: 4.387 MB / 7.707 GB, free: 64.78 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/21.78, allocations: 27.62 kB / 7.707 GB, free: 64.78 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/21.78, allocations: 0.55 MB / 7.707 GB, free: 64.77 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004029/21.78, allocations: 0.771 MB / 7.708 GB, free: 64.77 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/21.8, allocations: 7.406 MB / 7.715 GB, free: 61.6 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007409/21.8, allocations: 402.2 kB / 7.715 GB, free: 61.57 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009768/21.8, allocations: 237.9 kB / 7.716 GB, free: 61.57 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (357): * Single equations (assignments): 347 * 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.00557/21.81, allocations: 1.573 MB / 7.717 GB, free: 61.36 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/21.81, allocations: 0.5555 MB / 7.718 GB, free: 61.05 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/21.82, allocations: 3.586 MB / 7.721 GB, free: 60.85 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/21.82, allocations: 23.03 kB / 7.721 GB, free: 60.85 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/21.82, allocations: 0 / 7.721 GB, free: 60.85 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00545/21.83, allocations: 3.046 MB / 7.724 GB, free: 60.32 MB / 1.307 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.02475/21.85, allocations: 9.383 MB / 7.733 GB, free: 59.43 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/21.85, allocations: 3.875 kB / 7.733 GB, free: 59.43 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/21.86, allocations: 0.5842 MB / 7.734 GB, free: 59.42 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006259/21.86, allocations: 235.7 kB / 7.734 GB, free: 59.39 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/21.86, allocations: 73.62 kB / 7.734 GB, free: 59.39 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/21.86, allocations: 3.304 MB / 7.738 GB, free: 56.59 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/21.86, allocations: 3.781 kB / 7.738 GB, free: 56.59 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/21.87, allocations: 5.532 MB / 7.743 GB, free: 54.46 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004723/21.87, allocations: 1.227 MB / 7.744 GB, free: 53.7 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/21.88, allocations: 54.72 kB / 7.744 GB, free: 53.66 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005527/21.88, allocations: 346.5 kB / 7.745 GB, free: 53.61 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/21.88, allocations: 150.2 kB / 7.745 GB, free: 53.59 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/21.88, allocations: 100.5 kB / 7.745 GB, free: 53.57 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.01125/21.89, allocations: 4.884 MB / 7.75 GB, free: 51.66 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.263e-06/21.89, allocations: 1.969 kB / 7.75 GB, free: 51.66 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01724/21.91, allocations: 3.551 MB / 7.753 GB, free: 50.79 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (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,fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.medium.Xi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.medium.Xi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.filter.s[1],fan4.filter.s[2]) * 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 (207): * Single equations (assignments): 200 * 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.02836/21.94, allocations: 17.37 MB / 7.77 GB, free: 41.13 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01395/21.95, allocations: 6.038 MB / 7.776 GB, free: 39.04 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/21.95, allocations: 3.875 kB / 7.776 GB, free: 39.04 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.003582/21.96, allocations: 1.5 MB / 7.777 GB, free: 38.59 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01608/21.97, allocations: 3.216 MB / 7.78 GB, free: 37.82 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04788/22.02, allocations: 36.37 MB / 7.816 GB, free: 23.81 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006675/22.03, allocations: 3.572 MB / 7.819 GB, free: 22.54 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.008997/22.04, allocations: 1.726 MB / 7.821 GB, free: 21.93 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004446/22.04, allocations: 2.713 MB / 7.824 GB, free: 19.45 MB / 1.323 GB Notification: Performance of SimCode: time 1.703e-06/22.04, allocations: 0 / 7.824 GB, free: 19.45 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.28/23.32, allocations: 276.8 MB / 8.094 GB, free: 118.2 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/23.32, allocations: 268.7 kB / 8.094 GB, free: 117.9 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/35.42, allocations: 0 / 8.094 GB, free: 117.9 MB / 1.339 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic_res.mat does not exist to compare? outputFormat=mat