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.002099/0.002099, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00218/0.00218, allocations: 218.4 kB / 22.25 MB, free: 5.105 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.801 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 2.891/2.891, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.001904/0.001904, allocations: 71.67 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3035, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1837/0.4872, allocations: 150.7 MB / 1.473 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005465/0.4927, allocations: 3.198 MB / 1.476 GB, free: 7.035 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.4932, allocations: 35.69 kB / 1.476 GB, free: 7 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.4941, allocations: 310.1 kB / 1.476 GB, free: 6.695 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.4964, allocations: 1.05 MB / 1.478 GB, free: 5.641 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.4981, allocations: 0.6871 MB / 1.478 GB, free: 4.957 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.5, allocations: 1.57 MB / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005813/0.5006, allocations: 374.6 kB / 1.48 GB, free: 3.008 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.5019, allocations: 0.7473 MB / 1.481 GB, free: 2.258 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.503, allocations: 0.4936 MB / 1.481 GB, free: 1.766 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.575e-05/0.5031, allocations: 52 kB / 1.481 GB, free: 1.715 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.5044, allocations: 0.6974 MB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.5047, allocations: 247.3 kB / 1.482 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.5051, allocations: 286.8 kB / 1.483 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.5066, allocations: 1.114 MB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5066, allocations: 3.938 kB / 1.484 GB, free: 15.37 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5066, allocations: 4 kB / 1.484 GB, free: 15.37 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.5066, allocations: 4 kB / 1.484 GB, free: 15.36 MB / 1.186 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.001409/0.508, allocations: 0.8548 MB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.508, allocations: 12.03 kB / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.958e-05/0.5081, allocations: 78.53 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.5093, allocations: 183.5 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.5102, allocations: 466.5 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.5102, allocations: 33 kB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.5103, allocations: 44 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009099/0.5112, allocations: 0.7104 MB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5112, allocations: 4 kB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.5113, allocations: 20 kB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.5113, allocations: 20.98 kB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/0.512, allocations: 403.8 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.5143, allocations: 1.234 MB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.5148, allocations: 278.6 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.515, allocations: 174 kB / 1.488 GB, free: 10.69 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.5152, allocations: 27.92 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.5152, allocations: 34.56 kB / 1.488 GB, free: 10.62 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.5152, allocations: 0 / 1.488 GB, free: 10.62 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.001999/0.5172, allocations: 0.9883 MB / 1.489 GB, free: 9.598 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.5172, allocations: 59.34 kB / 1.489 GB, free: 9.527 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.5178, allocations: 457.9 kB / 1.49 GB, free: 9.078 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.5178, allocations: 33.7 kB / 1.49 GB, free: 9.039 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.518, allocations: 260.5 kB / 1.49 GB, free: 8.781 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.5182, allocations: 123 kB / 1.49 GB, free: 8.66 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.5183, allocations: 69.69 kB / 1.49 GB, free: 8.586 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5185, allocations: 350.8 kB / 1.49 GB, free: 8.234 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.5187, allocations: 135.9 kB / 1.49 GB, free: 8.102 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.519, allocations: 252.8 kB / 1.491 GB, free: 7.82 MB / 1.186 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.001934/0.5209, allocations: 0.7873 MB / 1.491 GB, free: 7.012 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5209, allocations: 0 / 1.491 GB, free: 7.012 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006257/0.5216, allocations: 416.8 kB / 1.492 GB, free: 6.598 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5216, allocations: 8 kB / 1.492 GB, free: 6.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5216, allocations: 0 / 1.492 GB, free: 6.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5216, allocations: 4 kB / 1.492 GB, free: 6.586 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.5219, allocations: 71.91 kB / 1.492 GB, free: 6.516 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5219, allocations: 8.188 kB / 1.492 GB, free: 6.508 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.5223, allocations: 23.86 kB / 1.492 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.5224, allocations: 12 kB / 1.492 GB, free: 6.473 MB / 1.186 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.0002713/0.5226, allocations: 209.7 kB / 1.492 GB, free: 6.258 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5227, allocations: 55.67 kB / 1.492 GB, free: 6.203 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.5229, allocations: 68.69 kB / 1.492 GB, free: 6.133 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5229, allocations: 4 kB / 1.492 GB, free: 6.129 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5229, allocations: 0 / 1.492 GB, free: 6.129 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005156/0.5234, allocations: 404.3 kB / 1.493 GB, free: 5.703 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.5252, allocations: 1.144 MB / 1.494 GB, free: 4.461 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5252, allocations: 4 kB / 1.494 GB, free: 4.457 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.5256, allocations: 72.41 kB / 1.494 GB, free: 4.387 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.5256, allocations: 8 kB / 1.494 GB, free: 4.379 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.5257, allocations: 12 kB / 1.494 GB, free: 4.367 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5257, allocations: 4 kB / 1.494 GB, free: 4.363 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5257, allocations: 7.938 kB / 1.494 GB, free: 4.355 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.5266, allocations: 0.7035 MB / 1.495 GB, free: 3.586 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.5268, allocations: 99.55 kB / 1.495 GB, free: 3.488 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.5269, allocations: 12 kB / 1.495 GB, free: 3.477 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.5273, allocations: 24.98 kB / 1.495 GB, free: 3.453 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.5273, allocations: 31.84 kB / 1.495 GB, free: 3.422 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.5274, allocations: 23.98 kB / 1.495 GB, free: 3.398 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003812/0.5278, allocations: 327.1 kB / 1.495 GB, free: 3.082 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5278, allocations: 0 / 1.495 GB, free: 3.082 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005483/0.5283, allocations: 143.9 kB / 1.495 GB, free: 2.941 MB / 1.186 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.001455/0.5298, allocations: 1.302 MB / 1.496 GB, free: 1.562 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005831/0.5304, allocations: 319.8 kB / 1.497 GB, free: 1.25 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5304, allocations: 4 kB / 1.497 GB, free: 1.246 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.5306, allocations: 152.6 kB / 1.497 GB, free: 1.098 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.5322, allocations: 373.4 kB / 1.497 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.538, allocations: 4.422 MB / 1.502 GB, free: 12.1 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5383, allocations: 292.7 kB / 1.502 GB, free: 11.79 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004304/0.5387, allocations: 124.7 kB / 1.502 GB, free: 11.67 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.539, allocations: 171.4 kB / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of SimCode: time 5.41e-07/0.539, allocations: 0 / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/0.589, allocations: 17.51 MB / 1.519 GB, free: 10.42 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.37, allocations: 7.406 kB / 1.519 GB, free: 10.41 MB / 1.217 GB " [Timeout remaining time 289] (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: 17.421652521996293]