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.001033/0.001033, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007696/0.0007696, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8248/0.8248, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.607/1.607, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.969e-05, allocations: 6.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5506/0.5506, allocations: 150.6 MB / 1.128 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.5544, allocations: 3.218 MB / 1.131 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.555, allocations: 29.53 kB / 1.131 GB, free: 9.098 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007963/0.5558, allocations: 308.8 kB / 1.132 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.5577, allocations: 1.08 MB / 1.133 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.559, allocations: 0.7011 MB / 1.133 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.5605, allocations: 1.566 MB / 1.135 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.561, allocations: 375.4 kB / 1.135 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.5623, allocations: 0.9067 MB / 1.136 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.5633, allocations: 439 kB / 1.136 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.5633, allocations: 53.62 kB / 1.137 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.5646, allocations: 0.7033 MB / 1.137 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.5649, allocations: 261.2 kB / 1.137 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.5651, allocations: 240.1 kB / 1.138 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.5668, allocations: 1.157 MB / 1.139 GB, free: 5.648 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5668, allocations: 1.281 kB / 1.139 GB, free: 5.648 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5668, allocations: 0 / 1.139 GB, free: 5.648 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.5668, allocations: 0 / 1.139 GB, free: 5.648 MB / 0.9948 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.001255/0.5681, allocations: 0.8546 MB / 1.14 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5681, allocations: 8.781 kB / 1.14 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.393e-05/0.5682, allocations: 85.58 kB / 1.14 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007514/0.569, allocations: 183.5 kB / 1.14 GB, free: 4.938 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.5696, allocations: 464.9 kB / 1.14 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5696, allocations: 39.28 kB / 1.14 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.5697, allocations: 43.59 kB / 1.14 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.5703, allocations: 0.7116 MB / 1.141 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5703, allocations: 4.656 kB / 1.141 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.5703, allocations: 16.81 kB / 1.141 GB, free: 4.094 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.5703, allocations: 19.48 kB / 1.141 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.5708, allocations: 408.5 kB / 1.142 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.5725, allocations: 1.23 MB / 1.143 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.5729, allocations: 282.5 kB / 1.143 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.5731, allocations: 168.5 kB / 1.143 GB, free: 3.105 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.5732, allocations: 22.98 kB / 1.143 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5733, allocations: 37.84 kB / 1.143 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.5733, allocations: 0 / 1.143 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.001469/0.5747, allocations: 1.012 MB / 1.144 GB, free: 2.508 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.5748, allocations: 54.28 kB / 1.144 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.5752, allocations: 460 kB / 1.145 GB, free: 2.234 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.5752, allocations: 33.23 kB / 1.145 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5753, allocations: 251.2 kB / 1.145 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.5754, allocations: 118.2 kB / 1.145 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.5755, allocations: 70.12 kB / 1.145 GB, free: 1.859 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.5756, allocations: 357.1 kB / 1.146 GB, free: 1.527 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5757, allocations: 130.6 kB / 1.146 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5759, allocations: 253.6 kB / 1.146 GB, free: 1.301 MB / 0.9948 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.001225/0.5772, allocations: 0.7802 MB / 1.147 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5772, allocations: 3.938 kB / 1.147 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004751/0.5776, allocations: 417.4 kB / 1.147 GB, free: 0.8047 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5777, allocations: 10.38 kB / 1.147 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5777, allocations: 0.9062 kB / 1.147 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5777, allocations: 5.906 kB / 1.147 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.5779, allocations: 67.16 kB / 1.147 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5779, allocations: 6.781 kB / 1.147 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.5782, allocations: 18.3 kB / 1.147 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.5782, allocations: 11.61 kB / 1.147 GB, free: 0.7852 MB / 0.9948 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.0002338/0.5784, allocations: 209.5 kB / 1.147 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.5785, allocations: 58.3 kB / 1.147 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.365e-05/0.5786, allocations: 64.78 kB / 1.147 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5786, allocations: 4.297 kB / 1.147 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5786, allocations: 3.125 kB / 1.148 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003482/0.579, allocations: 407 kB / 1.148 GB, free: 296 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.5803, allocations: 1.142 MB / 1.149 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5803, allocations: 5.688 kB / 1.149 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5805, allocations: 74.48 kB / 1.149 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.5805, allocations: 5.75 kB / 1.149 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.5805, allocations: 19.69 kB / 1.149 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.5805, allocations: 6.531 kB / 1.149 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5805, allocations: 4.375 kB / 1.149 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.5812, allocations: 0.6989 MB / 1.15 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.5814, allocations: 97.55 kB / 1.15 GB, free: 15.06 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.5814, allocations: 16.25 kB / 1.15 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5816, allocations: 17.14 kB / 1.15 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.5817, allocations: 34.31 kB / 1.15 GB, free: 15.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.5817, allocations: 21 kB / 1.15 GB, free: 15.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003007/0.582, allocations: 330.4 kB / 1.15 GB, free: 14.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.582, allocations: 0 / 1.15 GB, free: 14.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004443/0.5825, allocations: 146.4 kB / 1.15 GB, free: 14.87 MB / 1.01 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.001051/0.5835, allocations: 1.279 MB / 1.152 GB, free: 13.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.584, allocations: 322.8 kB / 1.152 GB, free: 13.76 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.584, allocations: 1.375 kB / 1.152 GB, free: 13.76 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.5842, allocations: 163.8 kB / 1.152 GB, free: 13.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.5852, allocations: 367.5 kB / 1.152 GB, free: 13.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.5897, allocations: 4.365 MB / 1.157 GB, free: 10.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5899, allocations: 289.3 kB / 1.157 GB, free: 10.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004382/0.5904, allocations: 128.8 kB / 1.157 GB, free: 10.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.5905, allocations: 174.4 kB / 1.157 GB, free: 10.69 MB / 1.01 GB Notification: Performance of SimCode: time 1.442e-06/0.5905, allocations: 0 / 1.157 GB, free: 10.69 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.6224, allocations: 17.42 MB / 1.174 GB, free: 7.434 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.579/7.202, allocations: 3.844 kB / 1.174 GB, free: 7.434 MB / 1.01 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.067231813445687]