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.154/2.154, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.0011/0.0011, allocations: 190.3 kB / 492.3 MB, free: 0.6289 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.386/1.386, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009456/0.0009456, allocations: 94.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.53e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2116, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.52/4.731, allocations: 1.95 GB / 3.163 GB, free: 320.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/4.731, allocations: 92 kB / 3.163 GB, free: 320.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 17.49/22.23, allocations: 4.423 GB / 7.586 GB, free: 108.3 MB / 1.307 GB Notification: Performance of FrontEnd: time 1.903e-06/22.23, allocations: 0 / 7.586 GB, free: 108.3 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.001309/22.23, allocations: 154.6 kB / 7.586 GB, free: 108.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.02317/22.25, allocations: 5.959 MB / 7.592 GB, free: 105 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/22.25, allocations: 10.59 kB / 7.592 GB, free: 105 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002143/22.25, allocations: 446.5 kB / 7.592 GB, free: 104.7 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/22.27, allocations: 1.993 MB / 7.594 GB, free: 104.2 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03009/22.3, allocations: 11.19 MB / 7.605 GB, free: 98.11 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004984/22.3, allocations: 270.3 kB / 7.605 GB, free: 97.84 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/22.3, allocations: 386.5 kB / 7.606 GB, free: 97.47 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/22.31, allocations: 4.179 MB / 7.61 GB, free: 93.83 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/22.31, allocations: 3.938 kB / 7.61 GB, free: 93.82 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/22.32, allocations: 131.2 kB / 7.61 GB, free: 93.7 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/22.32, allocations: 125.9 kB / 7.61 GB, free: 93.58 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008485/22.32, allocations: 3.142 MB / 7.613 GB, free: 90.68 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.04344/22.37, allocations: 20.41 MB / 7.633 GB, free: 70.42 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/22.37, allocations: 3.105 MB / 7.636 GB, free: 67.27 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/22.38, allocations: 1.377 MB / 7.637 GB, free: 65.9 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/22.38, allocations: 237.3 kB / 7.638 GB, free: 65.64 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002923/22.38, allocations: 1.811 MB / 7.639 GB, free: 63.82 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003817/22.38, allocations: 348.6 kB / 7.64 GB, free: 63.48 MB / 1.307 GB Notification: Performance of pre-optimization done (n=211): time 1.232e-05/22.38, allocations: 4 kB / 7.64 GB, free: 63.47 MB / 1.307 GB Notification: Performance of matching and sorting (n=211): time 0.006679/22.39, allocations: 2.945 MB / 7.643 GB, free: 60.51 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/22.39, allocations: 81.39 kB / 7.643 GB, free: 60.41 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01333/22.4, allocations: 6.32 MB / 7.649 GB, free: 54.11 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.0008761/22.4, allocations: 89.7 kB / 7.649 GB, free: 54.01 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.003246/22.41, allocations: 2.766 MB / 7.652 GB, free: 51.23 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/22.41, allocations: 0.7301 MB / 7.652 GB, free: 50.51 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/22.41, allocations: 56 kB / 7.652 GB, free: 50.46 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0002842/22.41, allocations: 436.7 kB / 7.653 GB, free: 50.02 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/22.41, allocations: 1.248 MB / 7.654 GB, free: 48.77 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/22.41, allocations: 2.447 MB / 7.656 GB, free: 45.79 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/22.42, allocations: 1.612 MB / 7.658 GB, free: 44.15 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.931e-05/22.42, allocations: 8 kB / 7.658 GB, free: 44.14 MB / 1.307 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.008182/22.43, allocations: 4.315 MB / 7.662 GB, free: 39.77 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.002757/22.43, allocations: 14.76 MB / 7.677 GB, free: 24.05 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.304e-05/22.43, allocations: 31.98 kB / 7.677 GB, free: 24.02 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/22.43, allocations: 260 kB / 7.677 GB, free: 23.76 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/22.43, allocations: 0.7957 MB / 7.678 GB, free: 22.96 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/22.44, allocations: 3.46 MB / 7.681 GB, free: 19.38 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006066/22.44, allocations: 407.3 kB / 7.682 GB, free: 18.98 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005211/22.44, allocations: 271.9 kB / 7.682 GB, free: 18.72 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/22.44, allocations: 4 kB / 7.682 GB, free: 18.71 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006755/22.45, allocations: 4.146 MB / 7.686 GB, free: 14.53 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.853e-05/22.45, allocations: 28 kB / 7.686 GB, free: 14.5 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/22.45, allocations: 0.5566 MB / 7.686 GB, free: 13.94 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/22.45, allocations: 0.7762 MB / 7.687 GB, free: 13.16 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/22.46, allocations: 7.241 MB / 7.694 GB, free: 5.625 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/22.47, allocations: 399.2 kB / 7.695 GB, free: 5.234 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008956/22.47, allocations: 228 kB / 7.695 GB, free: 5.012 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 345 * 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.001775/22.47, allocations: 305.5 kB / 7.695 GB, free: 4.707 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/22.48, allocations: 0.5515 MB / 7.696 GB, free: 4.148 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008421/22.48, allocations: 3.328 MB / 7.699 GB, free: 0.8281 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/22.48, allocations: 23.95 kB / 7.699 GB, free: 0.8047 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/22.48, allocations: 0 / 7.699 GB, free: 0.8047 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004487/22.49, allocations: 2.788 MB / 7.702 GB, free: 13.93 MB / 1.323 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.02154/22.51, allocations: 9.201 MB / 7.711 GB, free: 4.625 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/22.51, allocations: 4 kB / 7.711 GB, free: 4.621 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/22.51, allocations: 0.5699 MB / 7.711 GB, free: 4.051 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/22.51, allocations: 233.3 kB / 7.711 GB, free: 3.816 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/22.51, allocations: 71.95 kB / 7.711 GB, free: 3.746 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/22.52, allocations: 3.302 MB / 7.715 GB, free: 336 kB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/22.52, allocations: 4 kB / 7.715 GB, free: 332 kB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.133/23.65, allocations: 5.128 MB / 7.72 GB, free: 135.8 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005051/23.65, allocations: 1.237 MB / 7.721 GB, free: 135.7 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/23.66, allocations: 49.19 kB / 7.721 GB, free: 135.7 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005735/23.66, allocations: 344.6 kB / 7.721 GB, free: 135.7 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/23.66, allocations: 149.2 kB / 7.721 GB, free: 135.7 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/23.66, allocations: 110.5 kB / 7.722 GB, free: 135.7 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.01262/23.68, allocations: 4.809 MB / 7.726 GB, free: 135.4 MB / 1.323 GB Notification: Performance of sort global known variables: time 7.71e-07/23.68, allocations: 0 / 7.726 GB, free: 135.4 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.02057/23.7, allocations: 3.554 MB / 7.73 GB, free: 135.3 MB / 1.323 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) * 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.0331/23.73, allocations: 16.97 MB / 7.746 GB, free: 127.4 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.01599/23.75, allocations: 5.855 MB / 7.752 GB, free: 126.9 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 3.265e-05/23.75, allocations: 4.344 kB / 7.752 GB, free: 126.9 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.003992/23.75, allocations: 1.365 MB / 7.753 GB, free: 126.9 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02036/23.77, allocations: 3.22 MB / 7.756 GB, free: 126.8 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04151/23.81, allocations: 10.51 MB / 7.767 GB, free: 124.7 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008225/23.82, allocations: 3.58 MB / 7.77 GB, free: 123.8 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.01847/23.84, allocations: 3.009 MB / 7.773 GB, free: 123.8 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005504/23.84, allocations: 2.578 MB / 7.776 GB, free: 123.8 MB / 1.323 GB Notification: Performance of SimCode: time 1.583e-06/23.84, allocations: 0 / 7.776 GB, free: 123.8 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.488/24.33, allocations: 299.1 MB / 8.068 GB, free: 63.92 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/24.33, allocations: 234.6 kB / 8.068 GB, free: 63.62 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/39.91, allocations: 0 / 8.068 GB, free: 63.62 MB / 1.323 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