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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 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.001139/0.001139, allocations: 195.2 kB / 16.53 MB, free: 6.699 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 71.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5568, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.172/0.7289, allocations: 170.8 MB / 1.117 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005227/0.7341, allocations: 3.39 MB / 1.12 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006309/0.7348, allocations: 23.88 kB / 1.12 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008716/0.7357, allocations: 318.1 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.738, allocations: 1.015 MB / 1.121 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.7396, allocations: 0.6599 MB / 1.122 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.7415, allocations: 1.521 MB / 1.123 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.7421, allocations: 481.4 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.7428, allocations: 0.5603 MB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009262/0.7438, allocations: 456 kB / 1.125 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.7439, allocations: 56 kB / 1.125 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.7454, allocations: 0.8418 MB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.7457, allocations: 243.4 kB / 1.126 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.746, allocations: 330.6 kB / 1.126 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.7473, allocations: 1.122 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7473, allocations: 0 / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7474, allocations: 0 / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.7474, allocations: 0 / 1.127 GB, free: 11.45 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.001273/0.7487, allocations: 0.9155 MB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.7487, allocations: 8.031 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.485e-05/0.7488, allocations: 90.45 kB / 1.128 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.75, allocations: 171.2 kB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.7507, allocations: 0.4935 MB / 1.129 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.7507, allocations: 36.94 kB / 1.129 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.7508, allocations: 43.98 kB / 1.129 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.7515, allocations: 482.3 kB / 1.129 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.7515, allocations: 0 / 1.129 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.7516, allocations: 16 kB / 1.129 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.7516, allocations: 13 kB / 1.129 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.7522, allocations: 419.7 kB / 1.13 GB, free: 8.676 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.002309/0.7546, allocations: 1.747 MB / 1.132 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.755, allocations: 294.7 kB / 1.132 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.7553, allocations: 176.8 kB / 1.132 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.7555, allocations: 109 kB / 1.132 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.7555, allocations: 38.56 kB / 1.132 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.7555, allocations: 0 / 1.132 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.00182/0.7573, allocations: 1.055 MB / 1.133 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.7574, allocations: 59.39 kB / 1.133 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.7578, allocations: 453.9 kB / 1.134 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.7579, allocations: 33.7 kB / 1.134 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.758, allocations: 252.1 kB / 1.134 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.7581, allocations: 122.3 kB / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.7582, allocations: 65.7 kB / 1.134 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7584, allocations: 354.8 kB / 1.134 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.7586, allocations: 131.9 kB / 1.135 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.7588, allocations: 189.9 kB / 1.135 GB, free: 3.352 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.001867/0.7607, allocations: 0.8708 MB / 1.136 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7607, allocations: 0 / 1.136 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005772/0.7613, allocations: 416.5 kB / 1.136 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7613, allocations: 9.812 kB / 1.136 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7613, allocations: 4 kB / 1.136 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7613, allocations: 4 kB / 1.136 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.7616, allocations: 71.91 kB / 1.136 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7616, allocations: 0 / 1.136 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.762, allocations: 12 kB / 1.136 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.7621, allocations: 16.19 kB / 1.136 GB, free: 1.914 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 system: 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.0002224/0.7623, allocations: 223.2 kB / 1.136 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.7624, allocations: 51.34 kB / 1.136 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.7625, allocations: 60.77 kB / 1.136 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7625, allocations: 4 kB / 1.136 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7625, allocations: 0 / 1.136 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004646/0.763, allocations: 412.5 kB / 1.137 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.7646, allocations: 1.241 MB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.7647, allocations: 4 kB / 1.138 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.765, allocations: 75.91 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.765, allocations: 7.984 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.7651, allocations: 12 kB / 1.138 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.7651, allocations: 8.438 kB / 1.138 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7651, allocations: 8 kB / 1.138 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.7659, allocations: 0.6956 MB / 1.139 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.7661, allocations: 176.4 kB / 1.139 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.7662, allocations: 12 kB / 1.139 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.7666, allocations: 15.98 kB / 1.139 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.7666, allocations: 35.84 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.7667, allocations: 28.05 kB / 1.139 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003198/0.767, allocations: 331.1 kB / 1.139 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.767, allocations: 0 / 1.139 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005074/0.7675, allocations: 139.9 kB / 1.14 GB, free: 14.17 MB / 0.9044 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.001242/0.7688, allocations: 1.304 MB / 1.141 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.7693, allocations: 352.3 kB / 1.141 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7693, allocations: 0 / 1.141 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.7696, allocations: 163.7 kB / 1.141 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.7712, allocations: 370.4 kB / 1.142 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/0.7762, allocations: 4.472 MB / 1.146 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.7766, allocations: 0.8822 MB / 1.147 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004703/0.777, allocations: 136.6 kB / 1.147 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.7773, allocations: 167.4 kB / 1.147 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.7773, allocations: 0 / 1.147 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.8134, allocations: 15.38 MB / 1.162 GB, free: 6.957 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.36, allocations: 5.703 kB / 1.162 GB, free: 6.953 MB / 0.92 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > 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