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.241/2.241, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001116/0.001116, allocations: 183.4 kB / 487.4 MB, free: 5.078 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.401/1.401, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 106.9 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.019e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2317, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.065/5.296, allocations: 1.95 GB / 3.156 GB, free: 342.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.297, allocations: 91.36 kB / 3.156 GB, free: 342.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.23/21.52, allocations: 4.35 GB / 7.506 GB, free: 111.2 MB / 1.292 GB Notification: Performance of FrontEnd: time 2.945e-06/21.52, allocations: 0 / 7.506 GB, free: 111.2 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.00129/21.53, allocations: 156.7 kB / 7.506 GB, free: 111.2 MB / 1.292 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.02375/21.55, allocations: 5.695 MB / 7.511 GB, free: 108.3 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/21.55, allocations: 11.44 kB / 7.511 GB, free: 108.3 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/21.56, allocations: 1.788 MB / 7.513 GB, free: 107.9 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02827/21.59, allocations: 10.94 MB / 7.524 GB, free: 103.4 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/21.59, allocations: 92.06 kB / 7.524 GB, free: 103.4 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/21.59, allocations: 207.4 kB / 7.524 GB, free: 103.4 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006646/21.6, allocations: 3.279 MB / 7.527 GB, free: 102.2 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/21.61, allocations: 3.475 MB / 7.531 GB, free: 100.8 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.746e-05/21.61, allocations: 10.69 kB / 7.531 GB, free: 100.8 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/21.61, allocations: 3.969 kB / 7.531 GB, free: 100.8 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-05/21.61, allocations: 104.7 kB / 7.531 GB, free: 100.8 MB / 1.292 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.03032/21.64, allocations: 18.96 MB / 7.549 GB, free: 85.88 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/21.64, allocations: 3.42 MB / 7.553 GB, free: 82.7 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/21.65, allocations: 1.577 MB / 7.554 GB, free: 81.28 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/21.65, allocations: 229.4 kB / 7.554 GB, free: 81.04 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/21.65, allocations: 1.587 MB / 7.556 GB, free: 79.75 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004027/21.65, allocations: 332.5 kB / 7.556 GB, free: 79.46 MB / 1.292 GB Notification: Performance of pre-optimization done (n=180): time 5.8e-06/21.65, allocations: 0 / 7.556 GB, free: 79.46 MB / 1.292 GB Notification: Performance of matching and sorting (n=180): time 0.007803/21.66, allocations: 3.558 MB / 7.56 GB, free: 75.89 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/21.66, allocations: 73.41 kB / 7.56 GB, free: 75.8 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/21.67, allocations: 5.709 MB / 7.565 GB, free: 70.1 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009959/21.67, allocations: 33.7 kB / 7.565 GB, free: 70.06 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00271/21.68, allocations: 2.659 MB / 7.568 GB, free: 67.38 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/21.68, allocations: 0.5966 MB / 7.569 GB, free: 66.78 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/21.68, allocations: 0 / 7.569 GB, free: 66.78 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0001738/21.68, allocations: 420.1 kB / 7.569 GB, free: 66.36 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/21.68, allocations: 1.462 MB / 7.57 GB, free: 64.89 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/21.68, allocations: 2.66 MB / 7.573 GB, free: 61.68 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/21.68, allocations: 1.874 MB / 7.575 GB, free: 59.8 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/21.68, allocations: 8 kB / 7.575 GB, free: 59.79 MB / 1.292 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.007909/21.69, allocations: 4.666 MB / 7.579 GB, free: 55.11 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003063/21.7, allocations: 14.93 MB / 7.594 GB, free: 39.45 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/21.7, allocations: 28 kB / 7.594 GB, free: 39.43 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008656/21.7, allocations: 437.4 kB / 7.594 GB, free: 38.99 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/21.7, allocations: 0.6865 MB / 7.595 GB, free: 38.3 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/21.7, allocations: 4.478 MB / 7.6 GB, free: 33.71 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006767/21.71, allocations: 335.2 kB / 7.6 GB, free: 33.38 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008333/21.71, allocations: 260 kB / 7.6 GB, free: 33.12 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/21.71, allocations: 4 kB / 7.6 GB, free: 33.12 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007186/21.72, allocations: 3.63 MB / 7.604 GB, free: 29.48 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/21.72, allocations: 32 kB / 7.604 GB, free: 29.45 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/21.72, allocations: 0.5214 MB / 7.604 GB, free: 28.93 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/21.72, allocations: 0.6904 MB / 7.605 GB, free: 28.24 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009873/21.73, allocations: 7.029 MB / 7.612 GB, free: 20.95 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007361/21.74, allocations: 331.2 kB / 7.612 GB, free: 20.63 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008452/21.74, allocations: 232 kB / 7.612 GB, free: 20.4 MB / 1.292 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.0009639/21.74, allocations: 204.4 kB / 7.612 GB, free: 20.2 MB / 1.292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005203/21.75, allocations: 2.597 MB / 7.615 GB, free: 17.58 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/21.75, allocations: 0.509 MB / 7.615 GB, free: 17.07 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006/21.75, allocations: 2.896 MB / 7.618 GB, free: 14.18 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/21.75, allocations: 16 kB / 7.618 GB, free: 14.17 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/21.75, allocations: 3.984 kB / 7.618 GB, free: 14.16 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003081/21.76, allocations: 2.474 MB / 7.621 GB, free: 11.6 MB / 1.292 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.01529/21.77, allocations: 8.094 MB / 7.629 GB, free: 3.406 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/21.77, allocations: 4 kB / 7.629 GB, free: 3.402 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/21.78, allocations: 0.5035 MB / 7.629 GB, free: 2.902 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003414/21.78, allocations: 173.5 kB / 7.629 GB, free: 2.73 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/21.78, allocations: 35.97 kB / 7.629 GB, free: 2.695 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/21.78, allocations: 3.358 MB / 7.633 GB, free: 15.22 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/21.78, allocations: 4 kB / 7.633 GB, free: 15.21 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007307/21.78, allocations: 4.553 MB / 7.637 GB, free: 10.5 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004048/21.79, allocations: 1.146 MB / 7.638 GB, free: 9.328 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/21.79, allocations: 16 kB / 7.638 GB, free: 9.312 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005227/21.8, allocations: 295.2 kB / 7.638 GB, free: 9.023 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000521/21.8, allocations: 125.8 kB / 7.639 GB, free: 8.898 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003888/21.8, allocations: 91.97 kB / 7.639 GB, free: 8.809 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.01027/21.81, allocations: 4.271 MB / 7.643 GB, free: 4.543 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.031e-06/21.81, allocations: 0 / 7.643 GB, free: 4.543 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01709/21.82, allocations: 3.107 MB / 7.646 GB, free: 1.434 MB / 1.307 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.047/22.87, allocations: 16.71 MB / 7.662 GB, free: 133.8 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01235/22.88, allocations: 5.829 MB / 7.668 GB, free: 133.4 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/22.88, allocations: 1.031 kB / 7.668 GB, free: 133.4 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/22.89, allocations: 1.164 MB / 7.669 GB, free: 133.4 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01539/22.9, allocations: 2.94 MB / 7.672 GB, free: 133.3 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/22.93, allocations: 9.618 MB / 7.681 GB, free: 131.3 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003223/22.93, allocations: 3.438 MB / 7.685 GB, free: 130.5 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.01377/22.94, allocations: 2.808 MB / 7.687 GB, free: 130.4 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004217/22.95, allocations: 2.396 MB / 7.69 GB, free: 130.4 MB / 1.307 GB Notification: Performance of SimCode: time 7.81e-07/22.95, allocations: 0 / 7.69 GB, free: 130.4 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3531/23.3, allocations: 210.9 MB / 7.896 GB, free: 119.9 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/23.3, allocations: 171.4 kB / 7.896 GB, free: 119.7 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/34.94, allocations: 0 / 7.896 GB, free: 119.7 MB / 1.307 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