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.001412/0.001412, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001558/0.001558, allocations: 191 kB / 17.29 MB, free: 5.516 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.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.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.12 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.259, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02664/0.2857, allocations: 26.29 MB / 1.044 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.2988, allocations: 7.123 MB / 1.051 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.3003, allocations: 39.75 kB / 1.051 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3015, allocations: 385.5 kB / 1.052 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.3044, allocations: 1.107 MB / 1.053 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.3067, allocations: 0.9654 MB / 1.054 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.3096, allocations: 2.085 MB / 1.056 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.3108, allocations: 0.6176 MB / 1.056 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.3129, allocations: 0.7249 MB / 1.057 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.314, allocations: 0.5327 MB / 1.058 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.3141, allocations: 56 kB / 1.058 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.316, allocations: 0.811 MB / 1.059 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.3163, allocations: 175.4 kB / 1.059 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004934/0.3168, allocations: 378.2 kB / 1.059 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.3189, allocations: 1.211 MB / 1.06 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3189, allocations: 0 / 1.06 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3189, allocations: 4 kB / 1.06 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.3189, allocations: 0 / 1.06 GB, free: 15.22 MB / 0.8419 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.001903/0.3208, allocations: 1.055 MB / 1.061 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3209, allocations: 8.031 kB / 1.061 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.3213, allocations: 88 kB / 1.061 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.323, allocations: 0.7332 MB / 1.062 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.3231, allocations: 40.94 kB / 1.062 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3232, allocations: 51.94 kB / 1.062 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3242, allocations: 0.5039 MB / 1.063 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.3243, allocations: 7.906 kB / 1.063 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.3244, allocations: 16 kB / 1.063 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.3244, allocations: 16 kB / 1.063 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007839/0.3252, allocations: 327.7 kB / 1.063 GB, free: 12.26 MB / 0.8419 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.003701/0.3289, allocations: 2.74 MB / 1.066 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.3294, allocations: 196.7 kB / 1.066 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3296, allocations: 100.8 kB / 1.066 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.33, allocations: 340.4 kB / 1.066 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3301, allocations: 38.88 kB / 1.066 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.3301, allocations: 0 / 1.066 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0005429/0.3306, allocations: 312.2 kB / 1.067 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3307, allocations: 59.41 kB / 1.067 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.3312, allocations: 0.5224 MB / 1.067 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3313, allocations: 33.7 kB / 1.067 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.3315, allocations: 347.3 kB / 1.068 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3316, allocations: 82.91 kB / 1.068 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3317, allocations: 85.59 kB / 1.068 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3319, allocations: 358.8 kB / 1.068 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.332, allocations: 100.8 kB / 1.068 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.3323, allocations: 233.9 kB / 1.068 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3327, allocations: 334.8 kB / 1.069 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3327, allocations: 4 kB / 1.069 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005461/0.3332, allocations: 386.7 kB / 1.069 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3333, allocations: 8.562 kB / 1.069 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.3333, allocations: 8 kB / 1.069 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3333, allocations: 8 kB / 1.069 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3335, allocations: 83.83 kB / 1.069 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3336, allocations: 8 kB / 1.069 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.3339, allocations: 39.69 kB / 1.069 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.3339, allocations: 15.98 kB / 1.069 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002692/0.3342, allocations: 244 kB / 1.069 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002326/0.3344, allocations: 238.6 kB / 1.07 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003531/0.3348, allocations: 335.5 kB / 1.07 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.3348, allocations: 0 / 1.07 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005281/0.3353, allocations: 388.9 kB / 1.07 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.3353, allocations: 14.91 kB / 1.07 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3354, allocations: 4 kB / 1.07 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.3354, allocations: 8 kB / 1.07 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3356, allocations: 79.84 kB / 1.071 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3356, allocations: 11.92 kB / 1.071 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.3359, allocations: 35.69 kB / 1.071 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.336, allocations: 19.98 kB / 1.071 GB, free: 3.887 MB / 0.8419 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.000119/0.3361, allocations: 212.2 kB / 1.071 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.3362, allocations: 55.34 kB / 1.071 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.3366, allocations: 277.2 kB / 1.071 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.3366, allocations: 3.938 kB / 1.071 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3367, allocations: 0 / 1.071 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000351/0.337, allocations: 381.4 kB / 1.071 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.3383, allocations: 1.057 MB / 1.072 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3384, allocations: 4 kB / 1.072 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.3386, allocations: 52.19 kB / 1.073 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3386, allocations: 8 kB / 1.073 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.3386, allocations: 8 kB / 1.073 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3386, allocations: 4 kB / 1.073 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3386, allocations: 4 kB / 1.073 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.3393, allocations: 0.5251 MB / 1.073 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.3395, allocations: 168.4 kB / 1.073 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.3396, allocations: 12 kB / 1.073 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.3399, allocations: 16.05 kB / 1.073 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.34, allocations: 23.95 kB / 1.073 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.34, allocations: 23.97 kB / 1.073 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005072/0.3405, allocations: 411.1 kB / 1.074 GB, free: 460 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3405, allocations: 0 / 1.074 GB, free: 460 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009723/0.3415, allocations: 351.3 kB / 1.074 GB, free: 108 kB / 0.8419 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.3709/0.7124, allocations: 301.7 kB / 1.074 GB, free: 63.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008156/0.7133, allocations: 405.5 kB / 1.075 GB, free: 63.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7133, allocations: 1.688 kB / 1.075 GB, free: 63.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.7134, allocations: 108.7 kB / 1.075 GB, free: 63.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.7151, allocations: 380.9 kB / 1.075 GB, free: 63.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.7166, allocations: 1.081 MB / 1.076 GB, free: 63.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.7169, allocations: 0.8954 MB / 1.077 GB, free: 62.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004437/0.7174, allocations: 165.1 kB / 1.077 GB, free: 62.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.7175, allocations: 57.64 kB / 1.077 GB, free: 62.57 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.7175, allocations: 3.906 kB / 1.077 GB, free: 62.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.02473/0.7422, allocations: 12.9 MB / 1.09 GB, free: 61.55 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 -s gbode -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