Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001236, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8371, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2087/1.046, allocations: 173.3 MB / 1.123 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01508/1.061, allocations: 9.395 MB / 1.132 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/1.063, allocations: 43.69 kB / 1.132 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/1.067, allocations: 0.8282 MB / 1.133 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009286/1.076, allocations: 2.555 MB / 1.135 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/1.082, allocations: 1.511 MB / 1.137 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005083/1.087, allocations: 2.331 MB / 1.139 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/1.088, allocations: 0.9653 MB / 1.14 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/1.09, allocations: 0.9927 MB / 1.141 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/1.092, allocations: 0.7548 MB / 1.142 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/1.092, allocations: 60 kB / 1.142 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/1.095, allocations: 1.072 MB / 1.143 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/1.095, allocations: 478.7 kB / 1.143 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003958/1.096, allocations: 329 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/1.098, allocations: 1.933 MB / 1.146 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/1.098, allocations: 0 / 1.146 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/1.098, allocations: 0 / 1.146 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.822e-05/1.098, allocations: 0 / 1.146 GB, free: 11.17 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002461/1.1, allocations: 1.577 MB / 1.147 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.1, allocations: 12.03 kB / 1.147 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/1.1, allocations: 164.8 kB / 1.147 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/1.103, allocations: 0.4937 MB / 1.148 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.105, allocations: 1.023 MB / 1.149 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/1.105, allocations: 82.14 kB / 1.149 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/1.105, allocations: 108 kB / 1.149 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/1.107, allocations: 1.141 MB / 1.15 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.107, allocations: 8 kB / 1.15 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.107, allocations: 44 kB / 1.15 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/1.108, allocations: 46.09 kB / 1.15 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/1.109, allocations: 1.062 MB / 1.151 GB, free: 5.258 MB / 0.9044 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.005619/1.115, allocations: 4.21 MB / 1.155 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/1.116, allocations: 0.7972 MB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/1.116, allocations: 24.97 kB / 1.156 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/1.116, allocations: 47.56 kB / 1.156 GB, free: 15.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=83): time 2.525e-06/1.116, allocations: 0 / 1.156 GB, free: 15.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=89): time 0.005183/1.121, allocations: 2.835 MB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.121, allocations: 64.34 kB / 1.159 GB, free: 12.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/1.122, allocations: 0.9716 MB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/1.123, allocations: 49.64 kB / 1.16 GB, free: 11.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/1.123, allocations: 0.5395 MB / 1.16 GB, free: 11.29 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/1.123, allocations: 315.4 kB / 1.161 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/1.123, allocations: 16 kB / 1.161 GB, free: 10.96 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.123, allocations: 341.9 kB / 1.161 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/1.124, allocations: 333.8 kB / 1.161 GB, free: 10.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/1.124, allocations: 477.9 kB / 1.162 GB, free: 9.789 MB / 0.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/1.129, allocations: 2.246 MB / 1.164 GB, free: 7.496 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.129, allocations: 0 / 1.164 GB, free: 7.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001643/1.131, allocations: 1.004 MB / 1.165 GB, free: 6.488 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.131, allocations: 9.938 kB / 1.165 GB, free: 6.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.131, allocations: 8 kB / 1.165 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.131, allocations: 11.95 kB / 1.165 GB, free: 6.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/1.132, allocations: 179.7 kB / 1.165 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.132, allocations: 11.94 kB / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.133, allocations: 71.8 kB / 1.165 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/1.133, allocations: 35.98 kB / 1.165 GB, free: 6.168 MB / 0.92 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006252/1.134, allocations: 378.3 kB / 1.166 GB, free: 5.789 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/1.134, allocations: 126.5 kB / 1.166 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/1.134, allocations: 148.3 kB / 1.166 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.134, allocations: 11.95 kB / 1.166 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.134, allocations: 0 / 1.166 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/1.136, allocations: 1.086 MB / 1.167 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005052/1.141, allocations: 3.051 MB / 1.17 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/1.141, allocations: 8 kB / 1.17 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/1.141, allocations: 159.7 kB / 1.17 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/1.142, allocations: 105.6 kB / 1.17 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/1.142, allocations: 32 kB / 1.17 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/1.145, allocations: 2.905 MB / 1.173 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.145, allocations: 11.94 kB / 1.173 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/1.148, allocations: 2.252 MB / 1.175 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/1.149, allocations: 303.5 kB / 1.176 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/1.149, allocations: 32 kB / 1.176 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/1.15, allocations: 82.88 kB / 1.176 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/1.15, allocations: 84.17 kB / 1.176 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/1.15, allocations: 47.98 kB / 1.176 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009666/1.151, allocations: 0.6878 MB / 1.177 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.151, allocations: 0 / 1.177 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001203/1.152, allocations: 372 kB / 1.177 GB, free: 9.461 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004137/1.156, allocations: 5.46 MB / 1.182 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.158, allocations: 0.8208 MB / 1.183 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/1.158, allocations: 8 kB / 1.183 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/1.159, allocations: 0.6656 MB / 1.184 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/1.163, allocations: 0.8739 MB / 1.185 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.176, allocations: 9.634 MB / 1.194 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/1.177, allocations: 1.272 MB / 1.195 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001651/1.179, allocations: 347 kB / 1.196 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/1.179, allocations: 475.3 kB / 1.196 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of SimCode: time 1.493e-06/1.179, allocations: 0 / 1.196 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07079/1.25, allocations: 37.85 MB / 1.233 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.25, allocations: 254.7 kB / 1.233 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.77, allocations: 3.938 kB / 1.233 GB, free: 15.47 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat does not exist to compare? outputFormat=mat