Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001837/0.001837, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002234/0.002234, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_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.002047/0.002047, allocations: 71.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9135, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3084/1.222, allocations: 174.3 MB / 1.449 GB, free: 13.64 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007528/1.229, allocations: 3.392 MB / 1.452 GB, free: 10.24 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/1.231, allocations: 31.69 kB / 1.452 GB, free: 10.21 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/1.232, allocations: 326.1 kB / 1.453 GB, free: 9.887 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003996/1.236, allocations: 1.05 MB / 1.454 GB, free: 8.832 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/1.239, allocations: 0.6841 MB / 1.454 GB, free: 8.152 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003185/1.242, allocations: 1.527 MB / 1.456 GB, free: 6.625 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/1.243, allocations: 407.2 kB / 1.456 GB, free: 6.223 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/1.245, allocations: 0.6031 MB / 1.457 GB, free: 5.617 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/1.247, allocations: 0.4893 MB / 1.457 GB, free: 5.129 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/1.247, allocations: 56 kB / 1.457 GB, free: 5.074 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/1.249, allocations: 0.8846 MB / 1.458 GB, free: 4.188 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005132/1.25, allocations: 247.3 kB / 1.459 GB, free: 3.945 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000856/1.251, allocations: 338.5 kB / 1.459 GB, free: 3.613 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/1.254, allocations: 1.133 MB / 1.46 GB, free: 2.477 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.254, allocations: 0 / 1.46 GB, free: 2.477 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/1.254, allocations: 3.938 kB / 1.46 GB, free: 2.473 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.553e-05/1.254, allocations: 0 / 1.46 GB, free: 2.473 MB / 1.139 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.002354/1.256, allocations: 0.9418 MB / 1.461 GB, free: 1.48 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.256, allocations: 8.031 kB / 1.461 GB, free: 1.473 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.01e-05/1.256, allocations: 13 kB / 1.461 GB, free: 1.461 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/1.256, allocations: 78.53 kB / 1.461 GB, free: 1.375 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/1.258, allocations: 183.5 kB / 1.461 GB, free: 1.195 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/1.259, allocations: 0.5289 MB / 1.462 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/1.259, allocations: 33 kB / 1.462 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/1.259, allocations: 40 kB / 1.462 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/1.26, allocations: 474.4 kB / 1.462 GB, free: 92 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/1.26, allocations: 0 / 1.462 GB, free: 92 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/1.26, allocations: 19.98 kB / 1.462 GB, free: 72 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/1.26, allocations: 13 kB / 1.462 GB, free: 56 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/1.261, allocations: 419.8 kB / 1.463 GB, free: 15.64 MB / 1.154 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.00313/1.264, allocations: 1.732 MB / 1.464 GB, free: 13.78 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/1.264, allocations: 291 kB / 1.465 GB, free: 13.49 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/1.265, allocations: 173.2 kB / 1.465 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/1.265, allocations: 101.1 kB / 1.465 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/1.265, allocations: 46.53 kB / 1.465 GB, free: 13.14 MB / 1.154 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/1.265, allocations: 0 / 1.465 GB, free: 13.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.002401/1.267, allocations: 1.063 MB / 1.466 GB, free: 12.03 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/1.267, allocations: 55.41 kB / 1.466 GB, free: 11.96 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/1.268, allocations: 457.9 kB / 1.466 GB, free: 11.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/1.268, allocations: 29.7 kB / 1.466 GB, free: 11.47 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/1.268, allocations: 252.5 kB / 1.467 GB, free: 11.22 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.268, allocations: 123 kB / 1.467 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/1.269, allocations: 69.66 kB / 1.467 GB, free: 11.02 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.269, allocations: 366.8 kB / 1.467 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/1.269, allocations: 127.9 kB / 1.467 GB, free: 10.53 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/1.269, allocations: 197.6 kB / 1.468 GB, free: 10.32 MB / 1.154 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.002184/1.271, allocations: 0.8548 MB / 1.468 GB, free: 9.422 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.271, allocations: 3.938 kB / 1.468 GB, free: 9.418 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007502/1.272, allocations: 421 kB / 1.469 GB, free: 9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.272, allocations: 8 kB / 1.469 GB, free: 8.992 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.272, allocations: 0 / 1.469 GB, free: 8.992 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.272, allocations: 4 kB / 1.469 GB, free: 8.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/1.273, allocations: 67.91 kB / 1.469 GB, free: 8.922 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.273, allocations: 7.938 kB / 1.469 GB, free: 8.914 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/1.273, allocations: 19.92 kB / 1.469 GB, free: 8.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/1.273, allocations: 12 kB / 1.469 GB, free: 8.883 MB / 1.154 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.0003251/1.273, allocations: 215.9 kB / 1.469 GB, free: 8.664 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.274, allocations: 51.72 kB / 1.469 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/1.274, allocations: 60.75 kB / 1.469 GB, free: 8.547 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.274, allocations: 4 kB / 1.469 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.274, allocations: 0 / 1.469 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005764/1.274, allocations: 408.3 kB / 1.47 GB, free: 8.113 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/1.276, allocations: 1.244 MB / 1.471 GB, free: 6.766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.276, allocations: 7.984 kB / 1.471 GB, free: 6.758 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/1.277, allocations: 75.84 kB / 1.471 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/1.277, allocations: 8 kB / 1.471 GB, free: 6.676 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/1.277, allocations: 12 kB / 1.471 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/1.277, allocations: 8 kB / 1.471 GB, free: 6.656 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.277, allocations: 7.938 kB / 1.471 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.278, allocations: 0.7159 MB / 1.472 GB, free: 5.867 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/1.278, allocations: 172.7 kB / 1.472 GB, free: 5.68 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/1.278, allocations: 12.06 kB / 1.472 GB, free: 5.668 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/1.279, allocations: 21.3 kB / 1.472 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/1.279, allocations: 35.75 kB / 1.472 GB, free: 5.613 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/1.279, allocations: 20 kB / 1.472 GB, free: 5.594 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004242/1.279, allocations: 331.1 kB / 1.472 GB, free: 5.277 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/1.279, allocations: 4 kB / 1.472 GB, free: 5.273 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000619/1.28, allocations: 144 kB / 1.472 GB, free: 5.133 MB / 1.154 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.001559/1.281, allocations: 1.28 MB / 1.474 GB, free: 3.777 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006752/1.282, allocations: 311.9 kB / 1.474 GB, free: 3.473 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.282, allocations: 0 / 1.474 GB, free: 3.473 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.282, allocations: 164.6 kB / 1.474 GB, free: 3.312 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/1.284, allocations: 365.2 kB / 1.474 GB, free: 2.965 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/1.292, allocations: 4.434 MB / 1.479 GB, free: 14.31 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/1.292, allocations: 0.8823 MB / 1.48 GB, free: 13.4 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005926/1.293, allocations: 136.7 kB / 1.48 GB, free: 13.27 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/1.293, allocations: 175.4 kB / 1.48 GB, free: 13.1 MB / 1.17 GB Notification: Performance of SimCode: time 1.553e-06/1.293, allocations: 0 / 1.48 GB, free: 13.1 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/1.34, allocations: 15.59 MB / 1.495 GB, free: 13.82 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.651/10.99, allocations: 22.31 kB / 1.495 GB, free: 13.8 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.38679298502393]