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.001289/0.001289, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001503/0.001503, allocations: 217.7 kB / 23.03 MB, free: 4.902 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.01/3.01, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",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.001921/0.001921, allocations: 60.97 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3108, allocations: 176.1 MB / 1.327 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.184/0.4948, allocations: 150.6 MB / 1.474 GB, free: 10.47 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00666/0.5015, allocations: 3.203 MB / 1.477 GB, free: 7.262 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009473/0.5024, allocations: 27.75 kB / 1.477 GB, free: 7.234 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.5036, allocations: 302.1 kB / 1.477 GB, free: 6.938 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.5066, allocations: 1.058 MB / 1.478 GB, free: 5.875 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.5085, allocations: 0.6838 MB / 1.479 GB, free: 5.195 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002467/0.511, allocations: 1.579 MB / 1.48 GB, free: 3.605 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008114/0.5118, allocations: 374 kB / 1.481 GB, free: 3.238 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.5135, allocations: 0.7434 MB / 1.481 GB, free: 2.492 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5149, allocations: 0.4899 MB / 1.482 GB, free: 2.004 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.5151, allocations: 56 kB / 1.482 GB, free: 1.949 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.5168, allocations: 0.6935 MB / 1.483 GB, free: 1.254 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.5171, allocations: 243.3 kB / 1.483 GB, free: 1.016 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.5177, allocations: 282.8 kB / 1.483 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.5197, allocations: 1.121 MB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5197, allocations: 0 / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5197, allocations: 3.938 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.5198, allocations: 0 / 1.484 GB, free: 15.61 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.001727/0.5215, allocations: 0.8626 MB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5215, allocations: 8.031 kB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.64e-05/0.5216, allocations: 17 kB / 1.485 GB, free: 14.69 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.5217, allocations: 82.52 kB / 1.485 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.523, allocations: 175.5 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.5239, allocations: 466.5 kB / 1.486 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.524, allocations: 33 kB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.524, allocations: 43.98 kB / 1.486 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.525, allocations: 0.7182 MB / 1.487 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.525, allocations: 4 kB / 1.487 GB, free: 13.08 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.5251, allocations: 16 kB / 1.487 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.5251, allocations: 17 kB / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.5258, allocations: 419.7 kB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.5283, allocations: 1.222 MB / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.5289, allocations: 286.6 kB / 1.489 GB, free: 11.08 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.5291, allocations: 172.7 kB / 1.489 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.5293, allocations: 23.92 kB / 1.489 GB, free: 10.89 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.5293, allocations: 42.55 kB / 1.489 GB, free: 10.84 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.5293, allocations: 0 / 1.489 GB, free: 10.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002055/0.5314, allocations: 0.9883 MB / 1.49 GB, free: 9.812 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5314, allocations: 59.34 kB / 1.49 GB, free: 9.742 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.532, allocations: 453.9 kB / 1.49 GB, free: 9.297 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.532, allocations: 33.7 kB / 1.49 GB, free: 9.258 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.5322, allocations: 256.5 kB / 1.49 GB, free: 9 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.5323, allocations: 122.9 kB / 1.491 GB, free: 8.879 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5325, allocations: 65.7 kB / 1.491 GB, free: 8.809 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5326, allocations: 358.8 kB / 1.491 GB, free: 8.449 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.5329, allocations: 131.9 kB / 1.491 GB, free: 8.32 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.5332, allocations: 252.9 kB / 1.491 GB, free: 8.039 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.002026/0.5352, allocations: 0.796 MB / 1.492 GB, free: 7.223 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5352, allocations: 3.938 kB / 1.492 GB, free: 7.219 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007078/0.5359, allocations: 413 kB / 1.493 GB, free: 6.809 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.536, allocations: 10.03 kB / 1.493 GB, free: 6.801 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.536, allocations: 4 kB / 1.493 GB, free: 6.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.536, allocations: 4 kB / 1.493 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.5363, allocations: 71.91 kB / 1.493 GB, free: 6.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.5363, allocations: 8.125 kB / 1.493 GB, free: 6.715 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.5368, allocations: 15.94 kB / 1.493 GB, free: 6.699 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.5368, allocations: 12 kB / 1.493 GB, free: 6.688 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.0003326/0.5371, allocations: 221.6 kB / 1.493 GB, free: 6.461 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5373, allocations: 51.67 kB / 1.493 GB, free: 6.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.5374, allocations: 56.77 kB / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5374, allocations: 4 kB / 1.493 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5374, allocations: 0 / 1.493 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005268/0.5379, allocations: 408.3 kB / 1.493 GB, free: 5.922 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.54, allocations: 1.139 MB / 1.494 GB, free: 4.684 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.54, allocations: 4 kB / 1.494 GB, free: 4.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.5403, allocations: 76.41 kB / 1.495 GB, free: 4.605 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.5403, allocations: 8 kB / 1.495 GB, free: 4.598 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.5404, allocations: 19.92 kB / 1.495 GB, free: 4.578 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.5404, allocations: 7.938 kB / 1.495 GB, free: 4.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5404, allocations: 4 kB / 1.495 GB, free: 4.566 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.5414, allocations: 0.7035 MB / 1.495 GB, free: 3.797 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.5416, allocations: 91.62 kB / 1.495 GB, free: 3.707 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.46e-05/0.5417, allocations: 15.98 kB / 1.495 GB, free: 3.691 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.5422, allocations: 16.94 kB / 1.495 GB, free: 3.676 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.5422, allocations: 39.89 kB / 1.495 GB, free: 3.637 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.5423, allocations: 16 kB / 1.495 GB, free: 3.621 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004065/0.5427, allocations: 331.1 kB / 1.496 GB, free: 3.301 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5427, allocations: 4 kB / 1.496 GB, free: 3.297 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006008/0.5433, allocations: 140 kB / 1.496 GB, free: 3.16 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.001472/0.5448, allocations: 1.286 MB / 1.497 GB, free: 1.797 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.5454, allocations: 315.9 kB / 1.497 GB, free: 1.488 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5454, allocations: 4 kB / 1.497 GB, free: 1.484 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.5456, allocations: 157.1 kB / 1.498 GB, free: 1.332 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.5474, allocations: 373.3 kB / 1.498 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/0.5536, allocations: 4.426 MB / 1.502 GB, free: 12.33 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.5539, allocations: 284.8 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005164/0.5544, allocations: 128.7 kB / 1.503 GB, free: 11.9 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.5547, allocations: 167.4 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of SimCode: time 1.643e-06/0.5547, allocations: 3.938 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.5997, allocations: 17.03 MB / 1.519 GB, free: 11.19 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.26, allocations: 8.062 kB / 1.519 GB, free: 11.18 MB / 1.217 GB " [Timeout remaining time 288] (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: 18.648771962034516]