Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002352/0.002352, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002006, allocations: 63.91 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6958, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03151/0.7274, allocations: 26.16 MB / 1.042 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.7388, allocations: 7.182 MB / 1.049 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.74, allocations: 31.81 kB / 1.049 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.7413, allocations: 322.2 kB / 1.05 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.7445, allocations: 1.034 MB / 1.051 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.747, allocations: 0.8526 MB / 1.051 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.751, allocations: 2.803 MB / 1.054 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.7521, allocations: 0.5213 MB / 1.055 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.7536, allocations: 0.6144 MB / 1.055 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.7548, allocations: 0.5482 MB / 1.056 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.7549, allocations: 28 kB / 1.056 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.757, allocations: 0.7874 MB / 1.057 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.7573, allocations: 151.4 kB / 1.057 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.7579, allocations: 354.1 kB / 1.057 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.76, allocations: 1.18 MB / 1.058 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.76, allocations: 0 / 1.058 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.256e-06/0.76, allocations: 0 / 1.058 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.76, allocations: 3.938 kB / 1.058 GB, free: 8.117 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002265/0.7623, allocations: 1.047 MB / 1.059 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.938e-05/0.7624, allocations: 12.03 kB / 1.059 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.7629, allocations: 91.98 kB / 1.059 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.7648, allocations: 0.7253 MB / 1.06 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.7649, allocations: 40.94 kB / 1.06 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.765, allocations: 47.91 kB / 1.06 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.7661, allocations: 0.5039 MB / 1.061 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.7662, allocations: 4 kB / 1.061 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.7662, allocations: 20 kB / 1.061 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.7663, allocations: 12 kB / 1.061 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.7669, allocations: 315.7 kB / 1.061 GB, free: 5.184 MB / 0.8106 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.003626/0.7705, allocations: 2.74 MB / 1.064 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.7709, allocations: 202.5 kB / 1.064 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.7711, allocations: 96.81 kB / 1.064 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.7715, allocations: 348.4 kB / 1.064 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.7716, allocations: 38.88 kB / 1.064 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 2.235e-06/0.7716, allocations: 4 kB / 1.064 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0006648/0.7722, allocations: 308.3 kB / 1.065 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.7723, allocations: 59.39 kB / 1.065 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/0.773, allocations: 0.5031 MB / 1.065 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.773, allocations: 33.7 kB / 1.065 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.7733, allocations: 347.3 kB / 1.065 GB, free: 160 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.7734, allocations: 82.83 kB / 1.066 GB, free: 76 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.7736, allocations: 77.61 kB / 1.066 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.7738, allocations: 366.8 kB / 1.066 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.774, allocations: 92.8 kB / 1.066 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.7743, allocations: 241.9 kB / 1.066 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.7748, allocations: 337.7 kB / 1.067 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7748, allocations: 0 / 1.067 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006664/0.7755, allocations: 396.4 kB / 1.067 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.7755, allocations: 10.03 kB / 1.067 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.7755, allocations: 4 kB / 1.067 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.7756, allocations: 4.562 kB / 1.067 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.7759, allocations: 87.84 kB / 1.067 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.7759, allocations: 4 kB / 1.067 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.7763, allocations: 59.5 kB / 1.067 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.7764, allocations: 20 kB / 1.067 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003881/0.7768, allocations: 256 kB / 1.067 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002974/0.7771, allocations: 226.6 kB / 1.068 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004509/0.7776, allocations: 328 kB / 1.068 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.028e-06/0.7776, allocations: 4 kB / 1.068 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006342/0.7782, allocations: 382.1 kB / 1.068 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.7782, allocations: 8 kB / 1.068 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7782, allocations: 4 kB / 1.068 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7783, allocations: 8 kB / 1.068 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.7785, allocations: 79.84 kB / 1.068 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.7785, allocations: 8.5 kB / 1.068 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.7789, allocations: 47.72 kB / 1.068 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.779, allocations: 20 kB / 1.068 GB, free: 12.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001766/0.7791, allocations: 204.6 kB / 1.069 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7793, allocations: 63.28 kB / 1.069 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.7798, allocations: 286.5 kB / 1.069 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.7799, allocations: 7.938 kB / 1.069 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7799, allocations: 0 / 1.069 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004273/0.7803, allocations: 383 kB / 1.069 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.782, allocations: 1.053 MB / 1.07 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7821, allocations: 4 kB / 1.07 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.7823, allocations: 51.91 kB / 1.07 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.7823, allocations: 4.281 kB / 1.07 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.7823, allocations: 12 kB / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.7823, allocations: 4 kB / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.7823, allocations: 4 kB / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.7831, allocations: 0.522 MB / 1.071 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.7833, allocations: 168.3 kB / 1.071 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.7834, allocations: 8 kB / 1.071 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.7838, allocations: 35.94 kB / 1.071 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.7839, allocations: 19.86 kB / 1.071 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.7839, allocations: 19.98 kB / 1.071 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005575/0.7845, allocations: 399.1 kB / 1.072 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7845, allocations: 0 / 1.072 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001097/0.7856, allocations: 351.3 kB / 1.072 GB, free: 9.012 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007424/0.7864, allocations: 308.1 kB / 1.072 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.7871, allocations: 397.8 kB / 1.073 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7871, allocations: 0 / 1.073 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.7873, allocations: 109.4 kB / 1.073 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.7892, allocations: 369.3 kB / 1.073 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.7912, allocations: 1.309 MB / 1.074 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.7918, allocations: 0.8983 MB / 1.075 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005968/0.7924, allocations: 168.9 kB / 1.075 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.7926, allocations: 59.36 kB / 1.075 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.7926, allocations: 0 / 1.075 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of Templates: time 0.02369/0.8162, allocations: 12.25 MB / 1.087 GB, free: 9.277 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches