Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001472/0.001472, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001767/0.001767, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.953/2.953, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_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.002009/0.002009, allocations: 64.56 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.303, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1807/0.4837, allocations: 150.7 MB / 1.511 GB, free: 6.824 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005882/0.4895, allocations: 3.199 MB / 1.514 GB, free: 3.617 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.4902, allocations: 39.69 kB / 1.514 GB, free: 3.578 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000931/0.4911, allocations: 302.2 kB / 1.514 GB, free: 3.281 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.4935, allocations: 1.062 MB / 1.515 GB, free: 2.215 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.4951, allocations: 0.6698 MB / 1.516 GB, free: 1.551 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.497, allocations: 1.56 MB / 1.517 GB, free: 15.98 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005919/0.4976, allocations: 377.6 kB / 1.518 GB, free: 15.61 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.4989, allocations: 0.7474 MB / 1.518 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5001, allocations: 483.6 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.5002, allocations: 52 kB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.5014, allocations: 0.6857 MB / 1.52 GB, free: 13.66 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.5016, allocations: 255.2 kB / 1.52 GB, free: 13.41 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.502, allocations: 278.9 kB / 1.52 GB, free: 13.13 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.5035, allocations: 1.114 MB / 1.521 GB, free: 12.02 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5035, allocations: 3.938 kB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5035, allocations: 4 kB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.5035, allocations: 0 / 1.521 GB, free: 12.01 MB / 1.217 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.001501/0.505, allocations: 0.8587 MB / 1.522 GB, free: 11.12 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.505, allocations: 12.03 kB / 1.522 GB, free: 11.11 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.5052, allocations: 82.52 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.5063, allocations: 175.5 kB / 1.522 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.5072, allocations: 470.5 kB / 1.523 GB, free: 10.36 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.5072, allocations: 33 kB / 1.523 GB, free: 10.33 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.5073, allocations: 47.95 kB / 1.523 GB, free: 10.28 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.5082, allocations: 0.7104 MB / 1.523 GB, free: 9.504 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5082, allocations: 0 / 1.523 GB, free: 9.504 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.5083, allocations: 16 kB / 1.523 GB, free: 9.488 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.5083, allocations: 21 kB / 1.523 GB, free: 9.465 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.509, allocations: 407.7 kB / 1.524 GB, free: 9.07 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.5113, allocations: 1.237 MB / 1.525 GB, free: 7.785 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.5118, allocations: 278.6 kB / 1.525 GB, free: 7.504 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.5121, allocations: 168.8 kB / 1.525 GB, free: 7.336 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.5122, allocations: 23.92 kB / 1.526 GB, free: 7.312 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.5122, allocations: 38.56 kB / 1.526 GB, free: 7.266 MB / 1.217 GB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.5122, allocations: 0 / 1.526 GB, free: 7.266 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.001881/0.5141, allocations: 1.002 MB / 1.527 GB, free: 6.23 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5141, allocations: 55.41 kB / 1.527 GB, free: 6.164 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.5146, allocations: 461.8 kB / 1.527 GB, free: 5.707 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.5147, allocations: 33.7 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.5149, allocations: 252.5 kB / 1.527 GB, free: 5.418 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.515, allocations: 123 kB / 1.527 GB, free: 5.297 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5151, allocations: 69.64 kB / 1.527 GB, free: 5.223 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5153, allocations: 354.8 kB / 1.528 GB, free: 4.867 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.5155, allocations: 135.9 kB / 1.528 GB, free: 4.734 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.5158, allocations: 249 kB / 1.528 GB, free: 4.457 MB / 1.217 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.001859/0.5176, allocations: 0.7867 MB / 1.529 GB, free: 3.648 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5176, allocations: 0 / 1.529 GB, free: 3.648 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006652/0.5183, allocations: 412.9 kB / 1.529 GB, free: 3.238 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5183, allocations: 12.19 kB / 1.529 GB, free: 3.227 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5183, allocations: 0 / 1.529 GB, free: 3.227 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5183, allocations: 4 kB / 1.529 GB, free: 3.223 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.5186, allocations: 71.91 kB / 1.529 GB, free: 3.152 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.5186, allocations: 4 kB / 1.529 GB, free: 3.148 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.519, allocations: 19.88 kB / 1.529 GB, free: 3.129 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.5191, allocations: 16 kB / 1.529 GB, free: 3.113 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.0002602/0.5193, allocations: 209.7 kB / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.5194, allocations: 51.72 kB / 1.53 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.5195, allocations: 68.69 kB / 1.53 GB, free: 2.777 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5195, allocations: 4 kB / 1.53 GB, free: 2.773 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5195, allocations: 0 / 1.53 GB, free: 2.773 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005173/0.5201, allocations: 408.3 kB / 1.53 GB, free: 2.344 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.522, allocations: 1.135 MB / 1.531 GB, free: 1.109 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.522, allocations: 7.984 kB / 1.531 GB, free: 1.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.5223, allocations: 79.83 kB / 1.531 GB, free: 1.023 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.5223, allocations: 4 kB / 1.531 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.5223, allocations: 12 kB / 1.531 GB, free: 1.008 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.5223, allocations: 4 kB / 1.531 GB, free: 1.004 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.5223, allocations: 7.938 kB / 1.531 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008987/0.5232, allocations: 0.712 MB / 1.532 GB, free: 224 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.5235, allocations: 95.61 kB / 1.532 GB, free: 128 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.5236, allocations: 12 kB / 1.532 GB, free: 116 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.524, allocations: 20.55 kB / 1.532 GB, free: 96 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.524, allocations: 31.84 kB / 1.532 GB, free: 64 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.5241, allocations: 27.98 kB / 1.532 GB, free: 36 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003962/0.5245, allocations: 327.1 kB / 1.533 GB, free: 15.72 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5245, allocations: 0 / 1.533 GB, free: 15.72 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005229/0.525, allocations: 147.9 kB / 1.533 GB, free: 15.58 MB / 1.232 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.00135/0.5263, allocations: 1.3 MB / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.5269, allocations: 309 kB / 1.534 GB, free: 13.9 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5269, allocations: 4 kB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.5271, allocations: 157 kB / 1.534 GB, free: 13.74 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.5287, allocations: 378.8 kB / 1.535 GB, free: 13.38 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.5343, allocations: 4.413 MB / 1.539 GB, free: 8.754 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.5346, allocations: 280.8 kB / 1.539 GB, free: 8.449 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004298/0.5351, allocations: 132.7 kB / 1.54 GB, free: 8.32 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.5353, allocations: 175.3 kB / 1.54 GB, free: 8.152 MB / 1.232 GB Notification: Performance of SimCode: time 7.41e-07/0.5353, allocations: 0 / 1.54 GB, free: 8.152 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/0.5842, allocations: 17.37 MB / 1.557 GB, free: 7.199 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.94, allocations: 7.219 kB / 1.557 GB, free: 7.199 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.991124362219125]