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.001312/0.001312, 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.001711/0.001711, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.613/2.613, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.7109, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02869/0.7396, allocations: 26.16 MB / 1.042 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.7505, allocations: 7.179 MB / 1.049 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.7521, allocations: 31.81 kB / 1.049 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.7534, allocations: 318.2 kB / 1.049 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.7566, allocations: 1.036 MB / 1.051 GB, free: 104 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.7592, allocations: 0.8587 MB / 1.051 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.7627, allocations: 2.799 MB / 1.054 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008384/0.7635, allocations: 0.5253 MB / 1.055 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.765, allocations: 0.6105 MB / 1.055 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007587/0.7657, allocations: 0.5443 MB / 1.056 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.7658, allocations: 32 kB / 1.056 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.7675, allocations: 0.7835 MB / 1.057 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.7677, allocations: 147.4 kB / 1.057 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.7682, allocations: 354.1 kB / 1.057 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.7699, allocations: 1.18 MB / 1.058 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7699, allocations: 4 kB / 1.058 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7699, allocations: 8 kB / 1.058 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.7699, allocations: 3.938 kB / 1.058 GB, free: 8.246 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.001624/0.7716, allocations: 1.051 MB / 1.059 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7716, allocations: 8.031 kB / 1.059 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.7719, allocations: 87.98 kB / 1.059 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.773, allocations: 0.7296 MB / 1.06 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.7731, allocations: 36.94 kB / 1.06 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.234e-05/0.7732, allocations: 51.91 kB / 1.06 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/0.774, allocations: 0.5 MB / 1.061 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.7741, allocations: 4 kB / 1.061 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.7741, allocations: 16 kB / 1.061 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.7741, allocations: 12 kB / 1.061 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.7747, allocations: 327.7 kB / 1.061 GB, free: 5.305 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.002904/0.7776, allocations: 2.732 MB / 1.064 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.7779, allocations: 198.5 kB / 1.064 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.7781, allocations: 96.81 kB / 1.064 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.7784, allocations: 344.5 kB / 1.064 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.7785, allocations: 46.81 kB / 1.064 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.7785, allocations: 0 / 1.064 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005896/0.7791, allocations: 312.3 kB / 1.065 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.7791, allocations: 55.41 kB / 1.065 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.7797, allocations: 0.5031 MB / 1.065 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.7798, allocations: 37.69 kB / 1.065 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.78, allocations: 347.3 kB / 1.065 GB, free: 292 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/0.7801, allocations: 82.83 kB / 1.066 GB, free: 208 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.7802, allocations: 77.61 kB / 1.066 GB, free: 124 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.7804, allocations: 362.8 kB / 1.066 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.7806, allocations: 92.81 kB / 1.066 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.7809, allocations: 241.9 kB / 1.066 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.7813, allocations: 337.5 kB / 1.067 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7813, allocations: 0 / 1.067 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006488/0.7819, allocations: 392.5 kB / 1.067 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.782, allocations: 8 kB / 1.067 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.782, allocations: 4 kB / 1.067 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.782, allocations: 8.047 kB / 1.067 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.7823, allocations: 83.83 kB / 1.067 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7823, allocations: 4 kB / 1.067 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.7827, allocations: 64.03 kB / 1.067 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.7828, allocations: 16 kB / 1.067 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003233/0.7831, allocations: 252 kB / 1.067 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002421/0.7833, allocations: 238.6 kB / 1.068 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004184/0.7838, allocations: 328 kB / 1.068 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.868e-06/0.7838, allocations: 4 kB / 1.068 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005424/0.7843, allocations: 378.7 kB / 1.068 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/0.7843, allocations: 8 kB / 1.068 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7843, allocations: 4 kB / 1.068 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.7844, allocations: 8 kB / 1.068 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.7846, allocations: 79.84 kB / 1.068 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.7846, allocations: 11.94 kB / 1.068 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.785, allocations: 55.84 kB / 1.068 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.785, allocations: 12 kB / 1.068 GB, free: 12.93 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.0001297/0.7852, allocations: 208.1 kB / 1.069 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.7853, allocations: 55.34 kB / 1.069 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.7858, allocations: 290.4 kB / 1.069 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.7858, allocations: 7.938 kB / 1.069 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7858, allocations: 3.938 kB / 1.069 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000374/0.7862, allocations: 379 kB / 1.069 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.7877, allocations: 1.049 MB / 1.07 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7878, allocations: 0 / 1.07 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.788, allocations: 59.91 kB / 1.07 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.788, allocations: 4 kB / 1.07 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.788, allocations: 8 kB / 1.07 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.788, allocations: 4 kB / 1.07 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.788, allocations: 4 kB / 1.07 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.7887, allocations: 0.5223 MB / 1.071 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.7889, allocations: 168.3 kB / 1.071 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.789, allocations: 8 kB / 1.071 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.7894, allocations: 31.94 kB / 1.071 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.7894, allocations: 31.84 kB / 1.071 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.7895, allocations: 12 kB / 1.071 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004525/0.7899, allocations: 403.1 kB / 1.072 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7899, allocations: 0 / 1.072 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001008/0.791, allocations: 343.3 kB / 1.072 GB, free: 9.148 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.0006532/0.7916, allocations: 314.3 kB / 1.072 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006483/0.7923, allocations: 406.8 kB / 1.073 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7923, allocations: 0 / 1.073 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.7924, allocations: 107.8 kB / 1.073 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.7943, allocations: 368.3 kB / 1.073 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.7961, allocations: 1.313 MB / 1.074 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.7966, allocations: 0.8983 MB / 1.075 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005567/0.7971, allocations: 161 kB / 1.075 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.7973, allocations: 59.42 kB / 1.075 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.7973, allocations: 0 / 1.075 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of Templates: time 0.02216/0.8194, allocations: 12.25 MB / 1.087 GB, free: 9.402 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=480 -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