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.159/2.159, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001034/0.001034, allocations: 184 kB / 492.3 MB, free: 0.6328 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.381/1.381, 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.0007866/0.0007866, allocations: 91.89 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.091e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2549, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.155/5.41, allocations: 1.95 GB / 3.163 GB, free: 320.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/5.41, allocations: 93.98 kB / 3.163 GB, free: 320.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 17.23/22.64, allocations: 4.399 GB / 7.562 GB, free: 113.2 MB / 1.307 GB Notification: Performance of FrontEnd: time 2.515e-06/22.64, allocations: 0 / 7.562 GB, free: 113.2 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.001403/22.64, allocations: 151.3 kB / 7.562 GB, free: 113.1 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.02084/22.66, allocations: 5.69 MB / 7.568 GB, free: 110.2 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/22.66, allocations: 9.281 kB / 7.568 GB, free: 110.2 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001211/22.66, allocations: 403.7 kB / 7.568 GB, free: 110.1 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/22.68, allocations: 1.789 MB / 7.57 GB, free: 109.8 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02881/22.71, allocations: 10.95 MB / 7.58 GB, free: 108.5 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/22.71, allocations: 257 kB / 7.581 GB, free: 108.4 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/22.71, allocations: 344.2 kB / 7.581 GB, free: 108.3 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/22.72, allocations: 3.891 MB / 7.585 GB, free: 106.6 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/22.72, allocations: 4 kB / 7.585 GB, free: 106.6 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009294/22.72, allocations: 124.5 kB / 7.585 GB, free: 106.5 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/22.72, allocations: 108.3 kB / 7.585 GB, free: 106.5 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/22.73, allocations: 2.882 MB / 7.588 GB, free: 105.5 MB / 1.307 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.03277/22.76, allocations: 19.58 MB / 7.607 GB, free: 92.64 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004885/22.76, allocations: 2.687 MB / 7.61 GB, free: 90.58 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/22.77, allocations: 1.221 MB / 7.611 GB, free: 89.44 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/22.77, allocations: 225.9 kB / 7.611 GB, free: 89.2 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002489/22.77, allocations: 1.649 MB / 7.613 GB, free: 87.85 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003604/22.77, allocations: 403 kB / 7.613 GB, free: 87.52 MB / 1.307 GB Notification: Performance of pre-optimization done (n=180): time 1.023e-05/22.77, allocations: 0 / 7.613 GB, free: 87.52 MB / 1.307 GB Notification: Performance of matching and sorting (n=180): time 0.006034/22.78, allocations: 2.642 MB / 7.616 GB, free: 85.08 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/22.78, allocations: 75.05 kB / 7.616 GB, free: 85 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/22.79, allocations: 6.18 MB / 7.622 GB, free: 79.47 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.0009166/22.79, allocations: 85.7 kB / 7.622 GB, free: 79.38 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.003556/22.8, allocations: 2.655 MB / 7.624 GB, free: 76.96 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/22.8, allocations: 0.6214 MB / 7.625 GB, free: 76.4 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006693/22.8, allocations: 52 kB / 7.625 GB, free: 76.35 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0002857/22.8, allocations: 418.8 kB / 7.625 GB, free: 75.96 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/22.8, allocations: 1.122 MB / 7.626 GB, free: 74.92 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/22.8, allocations: 2.339 MB / 7.629 GB, free: 72.15 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/22.81, allocations: 1.476 MB / 7.63 GB, free: 70.82 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/22.81, allocations: 11.95 kB / 7.63 GB, free: 70.81 MB / 1.307 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.009042/22.82, allocations: 3.979 MB / 7.634 GB, free: 67.15 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.003398/22.82, allocations: 15.07 MB / 7.649 GB, free: 50.98 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.176e-05/22.82, allocations: 32 kB / 7.649 GB, free: 50.95 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/22.82, allocations: 241.9 kB / 7.649 GB, free: 50.74 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/22.82, allocations: 0.6899 MB / 7.65 GB, free: 50.15 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/22.83, allocations: 3.458 MB / 7.653 GB, free: 46.68 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006876/22.83, allocations: 392.3 kB / 7.653 GB, free: 46.38 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007925/22.83, allocations: 256.4 kB / 7.654 GB, free: 46.14 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/22.83, allocations: 8 kB / 7.654 GB, free: 46.13 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008532/22.84, allocations: 3.922 MB / 7.658 GB, free: 42.61 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/22.84, allocations: 28 kB / 7.658 GB, free: 42.58 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/22.84, allocations: 0.5516 MB / 7.658 GB, free: 42.12 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/22.85, allocations: 0.6873 MB / 7.659 GB, free: 41.53 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009713/22.86, allocations: 7.286 MB / 7.666 GB, free: 34.5 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/22.86, allocations: 387.3 kB / 7.666 GB, free: 34.12 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008796/22.86, allocations: 220 kB / 7.666 GB, free: 33.91 MB / 1.307 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001461/22.87, allocations: 288.4 kB / 7.667 GB, free: 33.62 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/22.87, allocations: 0.5322 MB / 7.667 GB, free: 33.08 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009644/22.88, allocations: 2.977 MB / 7.67 GB, free: 30.11 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/22.88, allocations: 16 kB / 7.67 GB, free: 30.1 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/22.88, allocations: 4 kB / 7.67 GB, free: 30.09 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004284/22.88, allocations: 2.538 MB / 7.673 GB, free: 27.46 MB / 1.307 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.02071/22.9, allocations: 8.492 MB / 7.681 GB, free: 18.86 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/22.9, allocations: 4 kB / 7.681 GB, free: 18.86 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/22.91, allocations: 0.4997 MB / 7.681 GB, free: 18.36 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/22.91, allocations: 235.8 kB / 7.682 GB, free: 18.12 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/22.91, allocations: 59.97 kB / 7.682 GB, free: 18.06 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/22.91, allocations: 3.295 MB / 7.685 GB, free: 14.65 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/22.91, allocations: 3.984 kB / 7.685 GB, free: 14.64 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00769/22.92, allocations: 4.659 MB / 7.69 GB, free: 9.836 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004246/22.92, allocations: 1.173 MB / 7.691 GB, free: 8.641 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002124/22.92, allocations: 43.98 kB / 7.691 GB, free: 8.598 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004683/22.93, allocations: 319.3 kB / 7.691 GB, free: 8.285 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/22.93, allocations: 133.7 kB / 7.691 GB, free: 8.152 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/22.93, allocations: 95.95 kB / 7.691 GB, free: 8.059 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.01023/22.94, allocations: 4.704 MB / 7.696 GB, free: 3.359 MB / 1.307 GB Notification: Performance of sort global known variables: time 4.71e-07/22.94, allocations: 0 / 7.696 GB, free: 3.359 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01686/22.95, allocations: 3.416 MB / 7.699 GB, free: 15.94 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) * 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 1.004/23.96, allocations: 16.48 MB / 7.715 GB, free: 139.7 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.0125/23.97, allocations: 5.452 MB / 7.721 GB, free: 139.3 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/23.97, allocations: 1.594 kB / 7.721 GB, free: 139.3 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/23.97, allocations: 1.208 MB / 7.722 GB, free: 139.2 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01842/23.99, allocations: 3.15 MB / 7.725 GB, free: 139.2 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/24.02, allocations: 9.841 MB / 7.734 GB, free: 137.2 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005943/24.03, allocations: 3.441 MB / 7.738 GB, free: 136.3 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.01631/24.05, allocations: 2.882 MB / 7.741 GB, free: 136.3 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005284/24.05, allocations: 2.4 MB / 7.743 GB, free: 136.3 MB / 1.323 GB Notification: Performance of SimCode: time 1.843e-06/24.05, allocations: 2.594 kB / 7.743 GB, free: 136.3 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4542/24.51, allocations: 293.6 MB / 8.03 GB, free: 96.96 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/24.51, allocations: 246.2 kB / 8.03 GB, free: 96.65 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/39.72, allocations: 4 kB / 8.03 GB, free: 96.65 MB / 1.323 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