Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.001307/0.001307, allocations: 100 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.001446/0.001447, 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.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004209, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9062/0.9067, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02344/0.9302, allocations: 22.02 MB / 0.9751 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.941, allocations: 6.16 MB / 0.9811 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.9425, allocations: 28.44 kB / 0.9811 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.9438, allocations: 395.2 kB / 0.9815 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.9479, allocations: 1.176 MB / 0.9827 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.9514, allocations: 1.07 MB / 0.9837 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.954, allocations: 1.245 MB / 0.9849 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007569/0.9548, allocations: 458.9 kB / 0.9854 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.9558, allocations: 0.5224 MB / 0.9859 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000498/0.9563, allocations: 342.5 kB / 0.9862 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.9564, allocations: 21.47 kB / 0.9862 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.9578, allocations: 499.3 kB / 0.9867 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.9579, allocations: 118.2 kB / 0.9868 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.9581, allocations: 163.8 kB / 0.987 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009869/0.9591, allocations: 0.813 MB / 0.9877 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9591, allocations: 0 / 0.9877 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9591, allocations: 0 / 0.9877 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.9591, allocations: 0 / 0.9877 GB, free: 13.07 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001265/0.9604, allocations: 0.9149 MB / 0.9886 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9605, allocations: 8.031 kB / 0.9887 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.9606, allocations: 86.52 kB / 0.9887 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.9608, allocations: 83.06 kB / 0.9888 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.9619, allocations: 0.6391 MB / 0.9894 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.962, allocations: 48.97 kB / 0.9895 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.962, allocations: 47.86 kB / 0.9895 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.9628, allocations: 496.1 kB / 0.99 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.9628, allocations: 8 kB / 0.99 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.9629, allocations: 20 kB / 0.99 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.9629, allocations: 19.97 kB / 0.99 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.9634, allocations: 315.7 kB / 0.9903 GB, free: 10.27 MB / 0.7481 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.002735/0.9662, allocations: 2.764 MB / 0.993 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.9665, allocations: 191.8 kB / 0.9932 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.9668, allocations: 344.6 kB / 0.9936 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.9669, allocations: 50.67 kB / 0.9936 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.9669, allocations: 0 / 0.9936 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0005321/0.9674, allocations: 295.5 kB / 0.9939 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.9674, allocations: 55.41 kB / 0.9939 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.9681, allocations: 0.5459 MB / 0.9945 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.9681, allocations: 33.7 kB / 0.9945 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.9684, allocations: 347.5 kB / 0.9948 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.9684, allocations: 82.8 kB / 0.9949 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.9685, allocations: 8 kB / 0.9949 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9686, allocations: 366.8 kB / 0.9953 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.9687, allocations: 79.95 kB / 0.9954 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.969, allocations: 238.8 kB / 0.9956 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.9692, allocations: 134 kB / 0.9957 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9692, allocations: 0 / 0.9957 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005842/0.9698, allocations: 389 kB / 0.9961 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006824/0.9705, allocations: 1.656 MB / 0.9977 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.9705, allocations: 8 kB / 0.9977 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.9705, allocations: 8 kB / 0.9977 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.9708, allocations: 75.91 kB / 0.9978 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.9709, allocations: 11.94 kB / 0.9978 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.9713, allocations: 63.5 kB / 0.9979 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.9713, allocations: 16 kB / 0.9979 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.9714, allocations: 4.938 kB / 0.9979 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004386/0.9718, allocations: 311.3 kB / 0.9982 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9718, allocations: 4 kB / 0.9982 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.9718, allocations: 11.95 kB / 0.9982 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.9721, allocations: 75.89 kB / 0.9983 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9721, allocations: 11.94 kB / 0.9983 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.9724, allocations: 55.73 kB / 0.9983 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.9725, allocations: 23.98 kB / 0.9983 GB, free: 1.504 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0002539/0.9727, allocations: 269 kB / 0.9986 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.9728, allocations: 55.34 kB / 0.9987 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.9733, allocations: 286.4 kB / 0.9989 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.9733, allocations: 8 kB / 0.9989 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.9733, allocations: 7.984 kB / 0.9989 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003298/0.9737, allocations: 375.6 kB / 0.9993 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.9751, allocations: 1.068 MB / 1 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9751, allocations: 0 / 1 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.9753, allocations: 51.92 kB / 1 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.9753, allocations: 4 kB / 1 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.9753, allocations: 15.98 kB / 1 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.9754, allocations: 0 / 1 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.9754, allocations: 7.938 kB / 1 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.976, allocations: 0.6264 MB / 1.001 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.9763, allocations: 196.3 kB / 1.001 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.9764, allocations: 8 kB / 1.001 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.9768, allocations: 39.23 kB / 1.001 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.9768, allocations: 15.98 kB / 1.001 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.9768, allocations: 23.98 kB / 1.001 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004731/0.9773, allocations: 427 kB / 1.002 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9773, allocations: 4 kB / 1.002 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001042/0.9784, allocations: 351.3 kB / 1.002 GB, free: 13.43 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.001721/0.9801, allocations: 1.97 MB / 1.004 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006852/0.9808, allocations: 400.6 kB / 1.004 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9808, allocations: 0 / 1.004 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.981, allocations: 109.5 kB / 1.004 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.9828, allocations: 382.6 kB / 1.005 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.9888, allocations: 6.059 MB / 1.011 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.9894, allocations: 0.91 MB / 1.012 GB, free: 3.371 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006638/0.99, allocations: 157 kB / 1.012 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.9904, allocations: 215.4 kB / 1.012 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of SimCode: time 3.416e-06/0.9904, allocations: 0 / 1.012 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/1.029, allocations: 18.24 MB / 1.03 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.029, allocations: 231 kB / 1.03 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.306, allocations: 0 / 1.03 GB, free: 0.8555 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat does not exist to compare? outputFormat=mat