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.001043/0.001043, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001343/0.001343, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.43 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.558/2.558, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 15.94 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.5995, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02336/0.6229, allocations: 24.14 MB / 1.046 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.009225/0.6321, allocations: 6.688 MB / 1.052 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/0.633, allocations: 27.81 kB / 1.053 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008158/0.6338, allocations: 286.2 kB / 1.053 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.6361, allocations: 0.89 MB / 1.054 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.6382, allocations: 0.7329 MB / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.6408, allocations: 2.385 MB / 1.057 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006849/0.6415, allocations: 465.3 kB / 1.057 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009323/0.6425, allocations: 0.5872 MB / 1.058 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006309/0.6431, allocations: 0.4977 MB / 1.058 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.128e-05/0.6432, allocations: 20 kB / 1.058 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.6445, allocations: 0.612 MB / 1.059 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.6447, allocations: 127.4 kB / 1.059 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.6449, allocations: 169.3 kB / 1.059 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.6459, allocations: 0.8631 MB / 1.06 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6459, allocations: 0 / 1.06 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6459, allocations: 0 / 1.06 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.6459, allocations: 4 kB / 1.06 GB, free: 9.473 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.001345/0.6472, allocations: 0.9149 MB / 1.061 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6473, allocations: 12.03 kB / 1.061 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.6476, allocations: 91.06 kB / 1.061 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.6487, allocations: 0.7013 MB / 1.062 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.6487, allocations: 36.94 kB / 1.062 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.6488, allocations: 44 kB / 1.062 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.6496, allocations: 0.504 MB / 1.062 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.6496, allocations: 4 kB / 1.062 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.6497, allocations: 23.98 kB / 1.062 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.6497, allocations: 12 kB / 1.062 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.6502, allocations: 319.7 kB / 1.063 GB, free: 6.691 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.002834/0.6531, allocations: 2.744 MB / 1.065 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.6534, allocations: 191 kB / 1.065 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.6536, allocations: 97.19 kB / 1.066 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.6539, allocations: 340.6 kB / 1.066 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.6539, allocations: 46.69 kB / 1.066 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.963e-06/0.654, allocations: 0 / 1.066 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005912/0.6546, allocations: 310 kB / 1.066 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.6546, allocations: 51.41 kB / 1.066 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.6552, allocations: 0.5069 MB / 1.067 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.6552, allocations: 33.7 kB / 1.067 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.6555, allocations: 351.4 kB / 1.067 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.6556, allocations: 74.84 kB / 1.067 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.6556, allocations: 16 kB / 1.067 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6558, allocations: 362.7 kB / 1.068 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.6559, allocations: 83.95 kB / 1.068 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.6562, allocations: 233.9 kB / 1.068 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.6564, allocations: 129.4 kB / 1.068 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6564, allocations: 0 / 1.068 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006021/0.657, allocations: 385.1 kB / 1.068 GB, free: 348 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.6572, allocations: 220.2 kB / 1.069 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6572, allocations: 8 kB / 1.069 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6572, allocations: 8 kB / 1.069 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.6575, allocations: 71.97 kB / 1.069 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6575, allocations: 19.81 kB / 1.069 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.6579, allocations: 63.45 kB / 1.069 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.658, allocations: 16 kB / 1.069 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.658, allocations: 4 kB / 1.069 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000455/0.6584, allocations: 311.8 kB / 1.069 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6584, allocations: 4 kB / 1.069 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.6585, allocations: 8 kB / 1.069 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.6587, allocations: 75.91 kB / 1.069 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6587, allocations: 11.92 kB / 1.069 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.659, allocations: 47.91 kB / 1.069 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.6591, allocations: 20 kB / 1.069 GB, free: 15.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.6594, allocations: 277 kB / 1.069 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.6595, allocations: 63.2 kB / 1.069 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.6599, allocations: 284.2 kB / 1.07 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.66, allocations: 0 / 1.07 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.66, allocations: 8 kB / 1.07 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003397/0.6603, allocations: 375.8 kB / 1.07 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.6617, allocations: 1.053 MB / 1.071 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6618, allocations: 0 / 1.071 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.662, allocations: 51.91 kB / 1.071 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.662, allocations: 4 kB / 1.071 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.662, allocations: 12 kB / 1.071 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.662, allocations: 0 / 1.071 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.662, allocations: 7.938 kB / 1.071 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.6627, allocations: 0.5208 MB / 1.072 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.6629, allocations: 188.2 kB / 1.072 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.663, allocations: 8 kB / 1.072 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.6633, allocations: 31.91 kB / 1.072 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.6634, allocations: 23.98 kB / 1.072 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.6634, allocations: 23.98 kB / 1.072 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004445/0.6639, allocations: 391.1 kB / 1.072 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6639, allocations: 0 / 1.072 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001052/0.6649, allocations: 339.3 kB / 1.073 GB, free: 11.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005839/0.6655, allocations: 290.2 kB / 1.073 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006185/0.6662, allocations: 402.8 kB / 1.073 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6662, allocations: 0 / 1.073 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.6663, allocations: 104.7 kB / 1.073 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.668, allocations: 371.5 kB / 1.074 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.6698, allocations: 1.36 MB / 1.075 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.6703, allocations: 0.8983 MB / 1.076 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005341/0.6708, allocations: 161 kB / 1.076 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.6709, allocations: 59.42 kB / 1.076 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.671, allocations: 0 / 1.076 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of Templates: time 0.0201/0.6911, allocations: 11.85 MB / 1.088 GB, free: 12.21 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