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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001491/0.001491, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 176.9 kB / 16.92 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 16.28 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.7049, allocations: 153.8 MB / 1.024 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02761/0.7326, allocations: 25.48 MB / 1.049 GB, free: 6.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.7443, allocations: 7.101 MB / 1.056 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.746, allocations: 31.81 kB / 1.056 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.7474, allocations: 314.2 kB / 1.056 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.7509, allocations: 1.031 MB / 1.057 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.7535, allocations: 0.8528 MB / 1.058 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.7573, allocations: 2.81 MB / 1.06 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008221/0.7581, allocations: 0.5158 MB / 1.061 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.7593, allocations: 0.5949 MB / 1.062 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007239/0.76, allocations: 0.5287 MB / 1.062 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.7601, allocations: 20 kB / 1.062 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.762, allocations: 0.7835 MB / 1.063 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.7621, allocations: 131.4 kB / 1.063 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.7626, allocations: 363.8 kB / 1.063 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.7637, allocations: 0.8884 MB / 1.064 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7638, allocations: 0 / 1.064 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7638, allocations: 4 kB / 1.064 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.7638, allocations: 0 / 1.064 GB, free: 6.477 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.001458/0.7652, allocations: 0.9112 MB / 1.065 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.7653, allocations: 8.031 kB / 1.065 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.7656, allocations: 88 kB / 1.065 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.7672, allocations: 0.7409 MB / 1.066 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.7672, allocations: 29 kB / 1.066 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.7673, allocations: 48 kB / 1.066 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.7682, allocations: 0.5001 MB / 1.066 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.7682, allocations: 0 / 1.066 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.7683, allocations: 16 kB / 1.066 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.7683, allocations: 20 kB / 1.066 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.7688, allocations: 319.7 kB / 1.067 GB, free: 3.68 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.003532/0.7724, allocations: 2.744 MB / 1.069 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.7727, allocations: 202.5 kB / 1.07 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.7729, allocations: 96.81 kB / 1.07 GB, free: 396 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/0.7732, allocations: 340.8 kB / 1.07 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.7733, allocations: 46.5 kB / 1.07 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 3.616e-06/0.7733, allocations: 0 / 1.07 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005759/0.7739, allocations: 304.8 kB / 1.07 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.7739, allocations: 59.41 kB / 1.07 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.7745, allocations: 0.5147 MB / 1.071 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.7746, allocations: 33.7 kB / 1.071 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.7749, allocations: 339.4 kB / 1.071 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.7749, allocations: 78.84 kB / 1.071 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.775, allocations: 37.7 kB / 1.071 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7752, allocations: 362.8 kB / 1.072 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.7753, allocations: 83.95 kB / 1.072 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.7756, allocations: 241.9 kB / 1.072 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.776, allocations: 337.2 kB / 1.072 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.7761, allocations: 4 kB / 1.072 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006123/0.7767, allocations: 391.9 kB / 1.073 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.7769, allocations: 212.9 kB / 1.073 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7769, allocations: 7.938 kB / 1.073 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7769, allocations: 4 kB / 1.073 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.7772, allocations: 83.89 kB / 1.073 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.7772, allocations: 11.88 kB / 1.073 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.7776, allocations: 55.58 kB / 1.073 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.7777, allocations: 23.98 kB / 1.073 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-06/0.7777, allocations: 0 / 1.073 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004415/0.7781, allocations: 311.4 kB / 1.073 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7781, allocations: 4 kB / 1.073 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.7782, allocations: 8.562 kB / 1.073 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.7784, allocations: 79.91 kB / 1.074 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7784, allocations: 11.92 kB / 1.074 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.7787, allocations: 43.67 kB / 1.074 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.7788, allocations: 20 kB / 1.074 GB, free: 12.09 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.0002908/0.7791, allocations: 284.9 kB / 1.074 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.7792, allocations: 55.34 kB / 1.074 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.7796, allocations: 275.2 kB / 1.074 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7797, allocations: 4 kB / 1.074 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7797, allocations: 0 / 1.074 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003826/0.7801, allocations: 383.8 kB / 1.075 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.7816, allocations: 1.057 MB / 1.076 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7816, allocations: 4 kB / 1.076 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.7818, allocations: 56.2 kB / 1.076 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.7819, allocations: 4 kB / 1.076 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.7819, allocations: 15.92 kB / 1.076 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.7819, allocations: 4 kB / 1.076 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7819, allocations: 3.938 kB / 1.076 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.7825, allocations: 0.5155 MB / 1.076 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.7828, allocations: 184.2 kB / 1.076 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.7828, allocations: 12 kB / 1.076 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.7832, allocations: 35.88 kB / 1.076 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.7833, allocations: 19.98 kB / 1.076 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.7833, allocations: 23.98 kB / 1.076 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005063/0.7838, allocations: 403.1 kB / 1.077 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7838, allocations: 0 / 1.077 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001032/0.7848, allocations: 339.3 kB / 1.077 GB, free: 8.227 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.0006777/0.7855, allocations: 314.8 kB / 1.077 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006475/0.7862, allocations: 397.5 kB / 1.078 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7862, allocations: 7.938 kB / 1.078 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.7864, allocations: 100.4 kB / 1.078 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.7884, allocations: 384.6 kB / 1.078 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.7903, allocations: 1.38 MB / 1.08 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.7909, allocations: 0.8983 MB / 1.081 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.791, allocations: 55.42 kB / 1.081 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/0.791, allocations: 3.938 kB / 1.081 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of Templates: time 0.01758/0.8086, allocations: 10.6 MB / 1.091 GB, free: 10.12 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches