Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00149, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001577/0.001577, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 60.38 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2634, allocations: 153 MB / 1.027 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02471/0.2881, allocations: 26.3 MB / 1.052 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009366/0.2975, allocations: 7.119 MB / 1.059 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007969/0.2984, allocations: 35.81 kB / 1.059 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.2993, allocations: 389.4 kB / 1.06 GB, free: 164 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.3017, allocations: 1.112 MB / 1.061 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.3038, allocations: 0.9559 MB / 1.062 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002222/0.3061, allocations: 2.093 MB / 1.064 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.3068, allocations: 0.6215 MB / 1.064 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.3083, allocations: 0.7211 MB / 1.065 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.3089, allocations: 0.5405 MB / 1.066 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.309, allocations: 52 kB / 1.066 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.3104, allocations: 0.811 MB / 1.067 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.3106, allocations: 175.4 kB / 1.067 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.311, allocations: 378.2 kB / 1.067 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3124, allocations: 1.204 MB / 1.068 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3124, allocations: 0 / 1.068 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3124, allocations: 0 / 1.068 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.3125, allocations: 4 kB / 1.068 GB, free: 7.484 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.001379/0.3138, allocations: 1.063 MB / 1.069 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3139, allocations: 8.031 kB / 1.069 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.3142, allocations: 84 kB / 1.069 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.3153, allocations: 0.7335 MB / 1.07 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3154, allocations: 40.88 kB / 1.07 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-05/0.3155, allocations: 51.89 kB / 1.07 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.3162, allocations: 0.5001 MB / 1.071 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3162, allocations: 0 / 1.071 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.3163, allocations: 20 kB / 1.071 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.3163, allocations: 12 kB / 1.071 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.3168, allocations: 323.7 kB / 1.071 GB, free: 4.531 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.002613/0.3194, allocations: 2.744 MB / 1.074 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3197, allocations: 198.5 kB / 1.074 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.3199, allocations: 96.81 kB / 1.074 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.3202, allocations: 340.4 kB / 1.074 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3202, allocations: 42.88 kB / 1.074 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/0.3202, allocations: 0 / 1.074 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0005404/0.3208, allocations: 311.6 kB / 1.075 GB, free: 488 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3208, allocations: 51.41 kB / 1.075 GB, free: 424 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4144/0.7352, allocations: 0.5275 MB / 1.075 GB, free: 56.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.7353, allocations: 32.77 kB / 1.075 GB, free: 56.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.7356, allocations: 349.6 kB / 1.076 GB, free: 56.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.7356, allocations: 86.48 kB / 1.076 GB, free: 56.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.7358, allocations: 77.7 kB / 1.076 GB, free: 56.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.7359, allocations: 362.8 kB / 1.076 GB, free: 56.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.736, allocations: 95.8 kB / 1.076 GB, free: 56.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.7363, allocations: 232.2 kB / 1.076 GB, free: 55.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.7366, allocations: 335.8 kB / 1.077 GB, free: 55.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7366, allocations: 1.938 kB / 1.077 GB, free: 55.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006439/0.7373, allocations: 395.2 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7373, allocations: 10.22 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7373, allocations: 4.062 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7374, allocations: 6.375 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.7377, allocations: 79.17 kB / 1.077 GB, free: 55.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.7377, allocations: 11.7 kB / 1.077 GB, free: 55.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.738, allocations: 35.27 kB / 1.077 GB, free: 55.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.7381, allocations: 19.5 kB / 1.077 GB, free: 55.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002845/0.7384, allocations: 251.9 kB / 1.077 GB, free: 55.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002049/0.7386, allocations: 234.4 kB / 1.078 GB, free: 55.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003243/0.7389, allocations: 323.8 kB / 1.078 GB, free: 55.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.7389, allocations: 3.203 kB / 1.078 GB, free: 55.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005193/0.7395, allocations: 393.1 kB / 1.078 GB, free: 54.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.7395, allocations: 7.484 kB / 1.078 GB, free: 54.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7395, allocations: 5.469 kB / 1.078 GB, free: 54.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.7395, allocations: 5.906 kB / 1.078 GB, free: 54.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.7397, allocations: 81.33 kB / 1.078 GB, free: 54.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.7397, allocations: 7.062 kB / 1.078 GB, free: 54.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.7401, allocations: 34.11 kB / 1.078 GB, free: 54.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.7401, allocations: 20.22 kB / 1.078 GB, free: 54.89 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.0001016/0.7402, allocations: 216.5 kB / 1.079 GB, free: 54.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.7403, allocations: 54.22 kB / 1.079 GB, free: 54.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.7408, allocations: 274.6 kB / 1.079 GB, free: 54.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7408, allocations: 7 kB / 1.079 GB, free: 54.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7408, allocations: 3.938 kB / 1.079 GB, free: 54.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003012/0.7411, allocations: 385 kB / 1.079 GB, free: 54.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.7424, allocations: 1.059 MB / 1.08 GB, free: 53.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7425, allocations: 2.5 kB / 1.08 GB, free: 53.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.7427, allocations: 53.3 kB / 1.08 GB, free: 53.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.7427, allocations: 4.172 kB / 1.08 GB, free: 53.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.7427, allocations: 9.062 kB / 1.08 GB, free: 53.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.7427, allocations: 12.08 kB / 1.081 GB, free: 53.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7427, allocations: 2.656 kB / 1.081 GB, free: 53.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.7433, allocations: 0.525 MB / 1.081 GB, free: 53.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.7435, allocations: 171.7 kB / 1.081 GB, free: 53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.7436, allocations: 11.92 kB / 1.081 GB, free: 53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.7439, allocations: 14.5 kB / 1.081 GB, free: 53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.744, allocations: 20.17 kB / 1.081 GB, free: 52.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.744, allocations: 25.81 kB / 1.081 GB, free: 52.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004306/0.7444, allocations: 409.2 kB / 1.082 GB, free: 52.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7445, allocations: 0 / 1.082 GB, free: 52.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001019/0.7455, allocations: 350.9 kB / 1.082 GB, free: 52.74 MB / 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.0005769/0.7461, allocations: 312.3 kB / 1.082 GB, free: 52.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006634/0.7467, allocations: 412.6 kB / 1.083 GB, free: 52.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7468, allocations: 0.9375 kB / 1.083 GB, free: 52.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.7469, allocations: 102.9 kB / 1.083 GB, free: 52.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.7485, allocations: 377.1 kB / 1.083 GB, free: 52.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.75, allocations: 1.079 MB / 1.084 GB, free: 51.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.7504, allocations: 0.8996 MB / 1.085 GB, free: 51.03 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000542/0.7509, allocations: 161 kB / 1.085 GB, free: 51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.751, allocations: 58.09 kB / 1.085 GB, free: 50.98 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.7511, allocations: 0 / 1.085 GB, free: 50.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.02708/0.7781, allocations: 12.9 MB / 1.098 GB, free: 49.91 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches