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.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006966/0.006966, allocations: 105 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 193.4 kB / 16.68 MB, free: 5.938 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.537/2.537, allocations: 469.4 MB / 0.7422 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6619, allocations: 159.1 MB / 1.22 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1711/0.833, allocations: 170.8 MB / 1.387 GB, free: 6.871 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.8385, allocations: 3.382 MB / 1.39 GB, free: 3.488 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/0.8392, allocations: 23.81 kB / 1.39 GB, free: 3.465 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.8402, allocations: 330.1 kB / 1.39 GB, free: 3.141 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.8428, allocations: 1.054 MB / 1.391 GB, free: 2.082 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.8445, allocations: 0.6598 MB / 1.392 GB, free: 1.426 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.8465, allocations: 1.529 MB / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008169/0.8473, allocations: 485.5 kB / 1.394 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.8484, allocations: 0.5954 MB / 1.394 GB, free: 14.82 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.8496, allocations: 466.2 kB / 1.395 GB, free: 14.36 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.8497, allocations: 56 kB / 1.395 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.8512, allocations: 0.834 MB / 1.396 GB, free: 13.47 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.8515, allocations: 239.4 kB / 1.396 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.8519, allocations: 326.6 kB / 1.396 GB, free: 12.91 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.8535, allocations: 1.142 MB / 1.397 GB, free: 11.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8535, allocations: 4 kB / 1.397 GB, free: 11.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 8.055e-06/0.8535, allocations: 0 / 1.397 GB, free: 11.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.8536, allocations: 0 / 1.397 GB, free: 11.77 MB / 1.123 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.001572/0.8551, allocations: 0.9379 MB / 1.398 GB, free: 10.78 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.8552, allocations: 8.625 kB / 1.398 GB, free: 10.77 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.8553, allocations: 82.53 kB / 1.398 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.8566, allocations: 175.5 kB / 1.399 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.8575, allocations: 0.529 MB / 1.399 GB, free: 9.941 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.8575, allocations: 33 kB / 1.399 GB, free: 9.91 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.8576, allocations: 43.95 kB / 1.399 GB, free: 9.867 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/0.8584, allocations: 474.4 kB / 1.4 GB, free: 9.398 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.8584, allocations: 0 / 1.4 GB, free: 9.398 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.8585, allocations: 19.94 kB / 1.4 GB, free: 9.379 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.8585, allocations: 20.98 kB / 1.4 GB, free: 9.355 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006588/0.8592, allocations: 415.7 kB / 1.4 GB, free: 8.953 MB / 1.123 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.002607/0.8618, allocations: 1.734 MB / 1.402 GB, free: 7.086 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.8623, allocations: 294.5 kB / 1.402 GB, free: 6.789 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.8626, allocations: 183.2 kB / 1.402 GB, free: 6.609 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.8627, allocations: 101 kB / 1.402 GB, free: 6.492 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.8628, allocations: 46.55 kB / 1.402 GB, free: 6.438 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.8628, allocations: 0 / 1.402 GB, free: 6.438 MB / 1.123 GB Notification: Performance of matching and sorting (n=33): time 0.002002/0.8648, allocations: 1.068 MB / 1.403 GB, free: 5.316 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.8649, allocations: 59.34 kB / 1.403 GB, free: 5.246 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.8654, allocations: 461.9 kB / 1.404 GB, free: 4.785 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.8654, allocations: 33.7 kB / 1.404 GB, free: 4.746 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.8656, allocations: 260.4 kB / 1.404 GB, free: 4.488 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.8657, allocations: 119 kB / 1.404 GB, free: 4.371 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.8658, allocations: 69.66 kB / 1.404 GB, free: 4.297 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.866, allocations: 354.8 kB / 1.405 GB, free: 3.941 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.8662, allocations: 131.7 kB / 1.405 GB, free: 3.812 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.8665, allocations: 205.8 kB / 1.405 GB, free: 3.59 MB / 1.123 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.001947/0.8684, allocations: 0.8634 MB / 1.406 GB, free: 2.688 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.8684, allocations: 0 / 1.406 GB, free: 2.688 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006175/0.8691, allocations: 416.7 kB / 1.406 GB, free: 2.273 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8691, allocations: 8 kB / 1.406 GB, free: 2.266 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8691, allocations: 3.938 kB / 1.406 GB, free: 2.262 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8691, allocations: 4 kB / 1.406 GB, free: 2.258 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.8694, allocations: 72.09 kB / 1.406 GB, free: 2.188 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.8695, allocations: 11.94 kB / 1.406 GB, free: 2.176 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.8699, allocations: 11.98 kB / 1.406 GB, free: 2.164 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.8699, allocations: 16 kB / 1.406 GB, free: 2.148 MB / 1.123 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.0002277/0.8701, allocations: 209.7 kB / 1.407 GB, free: 1.934 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.8702, allocations: 55.67 kB / 1.407 GB, free: 1.879 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.8704, allocations: 56.75 kB / 1.407 GB, free: 1.816 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8704, allocations: 4 kB / 1.407 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.8704, allocations: 0 / 1.407 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004678/0.8709, allocations: 408.3 kB / 1.407 GB, free: 1.383 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.8727, allocations: 1.245 MB / 1.408 GB, free: 32 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.8727, allocations: 4 kB / 1.408 GB, free: 28 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.8731, allocations: 72.39 kB / 1.408 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.8731, allocations: 8 kB / 1.408 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.8731, allocations: 12 kB / 1.408 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.8732, allocations: 11.94 kB / 1.408 GB, free: 15.93 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8732, allocations: 4 kB / 1.408 GB, free: 15.92 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.8741, allocations: 0.7102 MB / 1.409 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.8743, allocations: 168.8 kB / 1.409 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.8744, allocations: 8 kB / 1.409 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.8749, allocations: 27.98 kB / 1.409 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.8749, allocations: 35.91 kB / 1.409 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.875, allocations: 20 kB / 1.409 GB, free: 14.88 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003826/0.8754, allocations: 323.1 kB / 1.41 GB, free: 14.57 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8754, allocations: 0 / 1.41 GB, free: 14.57 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005557/0.8759, allocations: 147.9 kB / 1.41 GB, free: 14.42 MB / 1.139 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.001443/0.8774, allocations: 1.325 MB / 1.411 GB, free: 13.03 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.878, allocations: 319.7 kB / 1.411 GB, free: 12.72 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.878, allocations: 0 / 1.411 GB, free: 12.72 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.8783, allocations: 167 kB / 1.411 GB, free: 12.56 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.88, allocations: 359.9 kB / 1.412 GB, free: 12.21 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.8857, allocations: 4.413 MB / 1.416 GB, free: 7.586 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.8863, allocations: 0.8862 MB / 1.417 GB, free: 6.672 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.8868, allocations: 136.6 kB / 1.417 GB, free: 6.539 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.8871, allocations: 175.3 kB / 1.417 GB, free: 6.367 MB / 1.139 GB Notification: Performance of SimCode: time 7.51e-07/0.8871, allocations: 0 / 1.417 GB, free: 6.367 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.9251, allocations: 15.46 MB / 1.432 GB, free: 7.199 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/9.154, allocations: 23.34 kB / 1.432 GB, free: 7.18 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/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) Reference file matches