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.001601/0.001602, allocations: 103.5 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.002016/0.002016, 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 14.98 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.48/2.48, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002216, allocations: 61.69 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3488, 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.02843/0.3773, allocations: 26.29 MB / 1.044 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.3883, allocations: 7.137 MB / 1.051 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.3897, allocations: 39.75 kB / 1.051 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3909, allocations: 385.5 kB / 1.052 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.3938, allocations: 1.116 MB / 1.053 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.3963, allocations: 0.9532 MB / 1.054 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002793/0.3991, allocations: 2.089 MB / 1.056 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009014/0.4, allocations: 0.6176 MB / 1.056 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.4018, allocations: 0.7244 MB / 1.057 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008057/0.4026, allocations: 0.5366 MB / 1.058 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.4027, allocations: 56 kB / 1.058 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.4042, allocations: 0.8071 MB / 1.059 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.4045, allocations: 179.3 kB / 1.059 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.4049, allocations: 382.2 kB / 1.059 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.4064, allocations: 1.207 MB / 1.06 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4064, allocations: 0 / 1.06 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4064, allocations: 0 / 1.06 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.4064, allocations: 4 kB / 1.06 GB, free: 15.21 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.001403/0.4078, allocations: 1.055 MB / 1.061 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4079, allocations: 8.031 kB / 1.061 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.4082, allocations: 88 kB / 1.061 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.4094, allocations: 0.7296 MB / 1.062 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.4094, allocations: 40.94 kB / 1.062 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.4095, allocations: 47.94 kB / 1.062 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.4103, allocations: 0.5 MB / 1.063 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.4103, allocations: 7.906 kB / 1.063 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.4104, allocations: 20 kB / 1.063 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.4104, allocations: 12 kB / 1.063 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.4109, allocations: 319.7 kB / 1.063 GB, free: 12.27 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.002722/0.4136, allocations: 2.741 MB / 1.066 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.414, allocations: 202.4 kB / 1.066 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.4141, allocations: 96.81 kB / 1.066 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/0.4144, allocations: 344.4 kB / 1.066 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4145, allocations: 38.88 kB / 1.066 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.395e-06/0.4145, allocations: 3.938 kB / 1.066 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0005632/0.415, allocations: 308 kB / 1.067 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4151, allocations: 59.39 kB / 1.067 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.4157, allocations: 0.5263 MB / 1.067 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.4157, allocations: 37.7 kB / 1.067 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.4159, allocations: 343.3 kB / 1.068 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.416, allocations: 86.91 kB / 1.068 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4161, allocations: 81.59 kB / 1.068 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4163, allocations: 358.8 kB / 1.068 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.4165, allocations: 92.77 kB / 1.068 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.4167, allocations: 237.9 kB / 1.068 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.4171, allocations: 338.8 kB / 1.069 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4171, allocations: 4 kB / 1.069 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000576/0.4177, allocations: 391 kB / 1.069 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4177, allocations: 8 kB / 1.069 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4178, allocations: 4 kB / 1.069 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4178, allocations: 4 kB / 1.069 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.4181, allocations: 79.84 kB / 1.069 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.4181, allocations: 11.98 kB / 1.069 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.4184, allocations: 35.69 kB / 1.069 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.4185, allocations: 16.22 kB / 1.069 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003015/0.4188, allocations: 252 kB / 1.069 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002333/0.419, allocations: 238.6 kB / 1.07 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000367/0.4194, allocations: 331.5 kB / 1.07 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.4194, allocations: 0 / 1.07 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005397/0.4199, allocations: 384.5 kB / 1.07 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.42, allocations: 14.91 kB / 1.07 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.42, allocations: 4 kB / 1.07 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.42, allocations: 4 kB / 1.07 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.4202, allocations: 79.84 kB / 1.07 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4202, allocations: 12.5 kB / 1.071 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.4206, allocations: 39.73 kB / 1.071 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.4206, allocations: 12 kB / 1.071 GB, free: 3.895 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.0001465/0.4208, allocations: 212.1 kB / 1.071 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.4209, allocations: 55.34 kB / 1.071 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.4214, allocations: 278.5 kB / 1.071 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.4214, allocations: 11.94 kB / 1.071 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4214, allocations: 0 / 1.071 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003389/0.4218, allocations: 383.8 kB / 1.071 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.4232, allocations: 1.061 MB / 1.072 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4233, allocations: 0 / 1.072 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.4235, allocations: 55.91 kB / 1.073 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.4235, allocations: 7.938 kB / 1.073 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.4236, allocations: 8 kB / 1.073 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.4236, allocations: 4 kB / 1.073 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4236, allocations: 96 / 1.073 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.4243, allocations: 0.537 MB / 1.073 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.4245, allocations: 164.4 kB / 1.073 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.4246, allocations: 11.98 kB / 1.073 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.425, allocations: 19.97 kB / 1.073 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.4251, allocations: 19.86 kB / 1.073 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.4251, allocations: 19.98 kB / 1.073 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004388/0.4256, allocations: 411.1 kB / 1.074 GB, free: 452 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4256, allocations: 4.062 kB / 1.074 GB, free: 448 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001004/0.4266, allocations: 351.3 kB / 1.074 GB, free: 96 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.4702/0.8967, allocations: 302.1 kB / 1.074 GB, free: 63.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009505/0.8977, allocations: 406 kB / 1.075 GB, free: 63.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8978, allocations: 1.875 kB / 1.075 GB, free: 63.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.8979, allocations: 107.9 kB / 1.075 GB, free: 63.26 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.8997, allocations: 376.6 kB / 1.075 GB, free: 63.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.9015, allocations: 1.083 MB / 1.076 GB, free: 62.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.9019, allocations: 0.8989 MB / 1.077 GB, free: 62.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005181/0.9024, allocations: 159.1 kB / 1.077 GB, free: 62.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.9025, allocations: 53.69 kB / 1.077 GB, free: 62.03 MB / 0.8419 GB Notification: Performance of SimCode: time 9.02e-07/0.9025, allocations: 0 / 1.077 GB, free: 62.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.02857/0.9311, allocations: 12.9 MB / 1.09 GB, free: 61.06 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 cvode -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