Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008512, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 185.3 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7525, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1981/0.9506, allocations: 166.3 MB / 1.118 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006108/0.9568, allocations: 3.395 MB / 1.121 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.9576, allocations: 23.81 kB / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009658/0.9586, allocations: 266.6 kB / 1.122 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.9611, allocations: 0.9571 MB / 1.123 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.9629, allocations: 0.6059 MB / 1.123 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.9656, allocations: 2.114 MB / 1.125 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.9664, allocations: 396.5 kB / 1.126 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009869/0.9674, allocations: 477.8 kB / 1.126 GB, free: 212 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.9685, allocations: 463.8 kB / 1.127 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.9686, allocations: 20 kB / 1.127 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.9705, allocations: 0.9468 MB / 1.128 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.9708, allocations: 211.3 kB / 1.128 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.9712, allocations: 320.2 kB / 1.128 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.9723, allocations: 0.8261 MB / 1.129 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9723, allocations: 0 / 1.129 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9723, allocations: 0 / 1.129 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.9724, allocations: 4 kB / 1.129 GB, free: 13.43 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001377/0.9737, allocations: 0.7947 MB / 1.13 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.9738, allocations: 12.03 kB / 1.13 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.975, allocations: 175.1 kB / 1.13 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.9758, allocations: 0.5013 MB / 1.13 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.9758, allocations: 33 kB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/0.9759, allocations: 44 kB / 1.13 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007811/0.9767, allocations: 474.4 kB / 1.131 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.9767, allocations: 3.938 kB / 1.131 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.9768, allocations: 20 kB / 1.131 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.9768, allocations: 17 kB / 1.131 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006478/0.9775, allocations: 411.7 kB / 1.131 GB, free: 10.87 MB / 0.8887 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.002595/0.9801, allocations: 1.743 MB / 1.133 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.9806, allocations: 294.6 kB / 1.133 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.9808, allocations: 178.1 kB / 1.133 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.981, allocations: 101 kB / 1.134 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.9811, allocations: 42.56 kB / 1.134 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.053e-06/0.9811, allocations: 0 / 1.134 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.002021/0.9831, allocations: 1.055 MB / 1.135 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.9832, allocations: 55.41 kB / 1.135 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.9837, allocations: 461.8 kB / 1.135 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.9837, allocations: 37.7 kB / 1.135 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.9839, allocations: 244.2 kB / 1.135 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.984, allocations: 118.3 kB / 1.135 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.9841, allocations: 37.69 kB / 1.135 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.9842, allocations: 354.8 kB / 1.136 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.9845, allocations: 131.9 kB / 1.136 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.9847, allocations: 197.7 kB / 1.136 GB, free: 5.578 MB / 0.8887 GB 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.00196/0.9867, allocations: 0.8679 MB / 1.137 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9867, allocations: 0 / 1.137 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006754/0.9874, allocations: 416.5 kB / 1.137 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9874, allocations: 5.406 kB / 1.137 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.9874, allocations: 4 kB / 1.137 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9874, allocations: 0 / 1.137 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.9878, allocations: 72.09 kB / 1.137 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.9878, allocations: 11.94 kB / 1.137 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.9883, allocations: 39.75 kB / 1.138 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.9883, allocations: 16 kB / 1.138 GB, free: 4.113 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.9886, allocations: 214.9 kB / 1.138 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.9887, allocations: 47.44 kB / 1.138 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.9888, allocations: 64.75 kB / 1.138 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.9889, allocations: 4 kB / 1.138 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9889, allocations: 0 / 1.138 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005142/0.9894, allocations: 404.5 kB / 1.138 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.9913, allocations: 1.249 MB / 1.139 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9913, allocations: 4 kB / 1.139 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.9916, allocations: 79.89 kB / 1.14 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.9916, allocations: 4 kB / 1.14 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.9917, allocations: 12 kB / 1.14 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.9917, allocations: 7.938 kB / 1.14 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9917, allocations: 4 kB / 1.14 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/0.9926, allocations: 0.6997 MB / 1.14 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.9928, allocations: 168.5 kB / 1.14 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.9929, allocations: 16.06 kB / 1.14 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.9933, allocations: 27.92 kB / 1.14 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.9934, allocations: 35.84 kB / 1.14 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.9935, allocations: 27.97 kB / 1.141 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003983/0.9939, allocations: 331.1 kB / 1.141 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9939, allocations: 0 / 1.141 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005816/0.9945, allocations: 140 kB / 1.141 GB, free: 380 kB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000453/0.9949, allocations: 173 kB / 1.141 GB, free: 208 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.9955, allocations: 323.6 kB / 1.141 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.9955, allocations: 4 kB / 1.141 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.9958, allocations: 155.7 kB / 1.142 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9978, allocations: 355.5 kB / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.9998, allocations: 1.432 MB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/1, allocations: 0.8784 MB / 1.144 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1, allocations: 47.44 kB / 1.144 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/1, allocations: 0 / 1.144 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.01386/1.014, allocations: 8.544 MB / 1.153 GB, free: 4.465 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches