Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 103.6 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.014/3.014, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 79.09 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1994/0.5178, allocations: 174.3 MB / 1.491 GB, free: 4.406 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006044/0.5238, allocations: 3.416 MB / 1.494 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.5244, allocations: 27.75 kB / 1.494 GB, free: 0.957 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008726/0.5252, allocations: 334 kB / 1.495 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.5278, allocations: 1.054 MB / 1.496 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.5296, allocations: 0.6694 MB / 1.496 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.5319, allocations: 1.529 MB / 1.498 GB, free: 13.36 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006731/0.5325, allocations: 413.5 kB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.5339, allocations: 0.7355 MB / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.535, allocations: 0.4925 MB / 1.499 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.071e-05/0.5351, allocations: 52 kB / 1.5 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.5367, allocations: 0.8768 MB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.537, allocations: 251.2 kB / 1.501 GB, free: 10.56 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.5374, allocations: 334.5 kB / 1.501 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.539, allocations: 1.137 MB / 1.502 GB, free: 9.09 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.539, allocations: 0 / 1.502 GB, free: 9.09 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.443e-06/0.539, allocations: 0 / 1.502 GB, free: 9.09 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.539, allocations: 0 / 1.502 GB, free: 9.09 MB / 1.201 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.001511/0.5405, allocations: 0.934 MB / 1.503 GB, free: 8.102 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5406, allocations: 11.98 kB / 1.503 GB, free: 8.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.5407, allocations: 90.45 kB / 1.503 GB, free: 7.992 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.5419, allocations: 179.5 kB / 1.503 GB, free: 7.816 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.5428, allocations: 0.5213 MB / 1.504 GB, free: 7.258 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.5428, allocations: 29 kB / 1.504 GB, free: 7.23 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.5429, allocations: 47.94 kB / 1.504 GB, free: 7.184 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/0.5437, allocations: 478.3 kB / 1.504 GB, free: 6.711 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5437, allocations: 0 / 1.504 GB, free: 6.711 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.5438, allocations: 24 kB / 1.504 GB, free: 6.688 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.5438, allocations: 13 kB / 1.504 GB, free: 6.676 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.5445, allocations: 411.7 kB / 1.505 GB, free: 6.27 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.5473, allocations: 1.811 MB / 1.506 GB, free: 4.309 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.5478, allocations: 284.3 kB / 1.507 GB, free: 4.023 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.5481, allocations: 172.7 kB / 1.507 GB, free: 3.852 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.5483, allocations: 101 kB / 1.507 GB, free: 3.734 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5483, allocations: 34.56 kB / 1.507 GB, free: 3.691 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.5483, allocations: 4 kB / 1.507 GB, free: 3.688 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002089/0.5504, allocations: 1.066 MB / 1.508 GB, free: 2.57 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.5505, allocations: 55.39 kB / 1.508 GB, free: 2.504 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.551, allocations: 449.9 kB / 1.509 GB, free: 2.055 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.5511, allocations: 37.7 kB / 1.509 GB, free: 2.012 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.5513, allocations: 252.4 kB / 1.509 GB, free: 1.762 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5514, allocations: 130.9 kB / 1.509 GB, free: 1.633 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5515, allocations: 65.7 kB / 1.509 GB, free: 1.562 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.5517, allocations: 358.8 kB / 1.509 GB, free: 1.203 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.5519, allocations: 131.7 kB / 1.509 GB, free: 1.074 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.5522, allocations: 193.7 kB / 1.51 GB, free: 0.8633 MB / 1.201 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.001991/0.5542, allocations: 0.8633 MB / 1.51 GB, free: 15.96 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5542, allocations: 4 kB / 1.51 GB, free: 15.96 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006605/0.5548, allocations: 424.8 kB / 1.511 GB, free: 15.54 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5548, allocations: 4 kB / 1.511 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5548, allocations: 4 kB / 1.511 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5549, allocations: 4 kB / 1.511 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.5552, allocations: 67.91 kB / 1.511 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5552, allocations: 4 kB / 1.511 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.5555, allocations: 12.19 kB / 1.511 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.5556, allocations: 16 kB / 1.511 GB, free: 15.43 MB / 1.217 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.0002764/0.5559, allocations: 217.9 kB / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.556, allocations: 51.67 kB / 1.511 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.5561, allocations: 56.77 kB / 1.511 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.5561, allocations: 4 kB / 1.511 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5561, allocations: 0 / 1.511 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005421/0.5566, allocations: 416.5 kB / 1.512 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.5585, allocations: 1.245 MB / 1.513 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5585, allocations: 4 kB / 1.513 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.5589, allocations: 71.91 kB / 1.513 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.5589, allocations: 7.938 kB / 1.513 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.5589, allocations: 16.48 kB / 1.513 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5589, allocations: 8 kB / 1.513 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5589, allocations: 4 kB / 1.513 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.5599, allocations: 0.713 MB / 1.514 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.5601, allocations: 172.7 kB / 1.514 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.5601, allocations: 15.94 kB / 1.514 GB, free: 12.21 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.5605, allocations: 19.98 kB / 1.514 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.5606, allocations: 31.92 kB / 1.514 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.5606, allocations: 19.98 kB / 1.514 GB, free: 12.14 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003842/0.561, allocations: 331.1 kB / 1.514 GB, free: 11.82 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.561, allocations: 0 / 1.514 GB, free: 11.82 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00053/0.5615, allocations: 140 kB / 1.514 GB, free: 11.68 MB / 1.217 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.001406/0.563, allocations: 1.295 MB / 1.516 GB, free: 10.31 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005453/0.5635, allocations: 312.9 kB / 1.516 GB, free: 10.01 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5635, allocations: 12 kB / 1.516 GB, free: 9.996 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.5637, allocations: 147.8 kB / 1.516 GB, free: 9.852 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.5654, allocations: 376.9 kB / 1.517 GB, free: 9.492 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.571, allocations: 4.42 MB / 1.521 GB, free: 4.852 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.5716, allocations: 0.8823 MB / 1.522 GB, free: 3.941 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000407/0.572, allocations: 140.7 kB / 1.522 GB, free: 3.805 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.5722, allocations: 171.4 kB / 1.522 GB, free: 3.637 MB / 1.217 GB Notification: Performance of SimCode: time 7.61e-07/0.5722, allocations: 0 / 1.522 GB, free: 3.637 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.6179, allocations: 15.55 MB / 1.537 GB, free: 4.371 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.936, allocations: 6.219 kB / 1.537 GB, free: 4.367 MB / 1.232 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.167981263017282]