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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007308/0.007308, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001667/0.001667, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2956, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.0255/0.3212, allocations: 26.29 MB / 1.192 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3319, allocations: 7.139 MB / 1.199 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3331, allocations: 35.81 kB / 1.199 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.3342, allocations: 385.5 kB / 1.2 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.3369, allocations: 1.111 MB / 1.201 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.3395, allocations: 0.9577 MB / 1.202 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002601/0.3421, allocations: 2.081 MB / 1.204 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.3429, allocations: 0.6138 MB / 1.204 GB, free: 44 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.3446, allocations: 0.7298 MB / 1.205 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/0.3453, allocations: 0.5366 MB / 1.206 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.935e-05/0.3454, allocations: 52 kB / 1.206 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.3469, allocations: 0.8149 MB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3471, allocations: 167.4 kB / 1.207 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.3475, allocations: 386.1 kB / 1.207 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.3491, allocations: 1.211 MB / 1.208 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3492, allocations: 0 / 1.208 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3492, allocations: 0 / 1.208 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3492, allocations: 3.938 kB / 1.208 GB, free: 12.15 MB / 0.9669 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.001495/0.3507, allocations: 1.085 MB / 1.209 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3507, allocations: 8.031 kB / 1.209 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.351, allocations: 92.41 kB / 1.209 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.3522, allocations: 0.7418 MB / 1.21 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.3522, allocations: 36.94 kB / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.3523, allocations: 47.95 kB / 1.21 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.3531, allocations: 0.5001 MB / 1.211 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3531, allocations: 0 / 1.211 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.3532, allocations: 20 kB / 1.211 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.3532, allocations: 15.98 kB / 1.211 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.3537, allocations: 323.7 kB / 1.211 GB, free: 9.164 MB / 0.9669 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.002827/0.3566, allocations: 2.752 MB / 1.214 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.3569, allocations: 194.6 kB / 1.214 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3571, allocations: 100.8 kB / 1.214 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/0.3574, allocations: 344.3 kB / 1.214 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3575, allocations: 50.81 kB / 1.214 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.3575, allocations: 0 / 1.214 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22): time 0.0006052/0.3581, allocations: 303.3 kB / 1.215 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.3582, allocations: 51.41 kB / 1.215 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.3588, allocations: 0.5303 MB / 1.215 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3588, allocations: 29.7 kB / 1.215 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.3591, allocations: 352 kB / 1.215 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.3592, allocations: 87.27 kB / 1.216 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3594, allocations: 85.59 kB / 1.216 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3596, allocations: 362.8 kB / 1.216 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3597, allocations: 92.81 kB / 1.216 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.36, allocations: 237.8 kB / 1.216 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.3604, allocations: 342.8 kB / 1.217 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3604, allocations: 4 kB / 1.217 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005639/0.361, allocations: 388.8 kB / 1.217 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.361, allocations: 4 kB / 1.217 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3611, allocations: 16.48 kB / 1.217 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3611, allocations: 4 kB / 1.217 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.3614, allocations: 75.91 kB / 1.217 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3614, allocations: 11.94 kB / 1.217 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.3617, allocations: 43.72 kB / 1.217 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.3617, allocations: 16 kB / 1.217 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000322/0.3621, allocations: 248 kB / 1.217 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002492/0.3623, allocations: 226.7 kB / 1.218 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003868/0.3627, allocations: 343.9 kB / 1.218 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.3627, allocations: 0 / 1.218 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005837/0.3633, allocations: 385.2 kB / 1.218 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3633, allocations: 8.094 kB / 1.218 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3634, allocations: 16.02 kB / 1.218 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.3634, allocations: 7.984 kB / 1.218 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3636, allocations: 71.91 kB / 1.218 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3636, allocations: 15.88 kB / 1.218 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.364, allocations: 39.77 kB / 1.218 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.364, allocations: 12 kB / 1.218 GB, free: 0.7539 MB / 0.9669 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.0001394/0.3641, allocations: 200.2 kB / 1.219 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3643, allocations: 71.56 kB / 1.219 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005035/0.3648, allocations: 278.5 kB / 1.219 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3648, allocations: 7.938 kB / 1.219 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3648, allocations: 3.984 kB / 1.219 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003878/0.3652, allocations: 378.6 kB / 1.219 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3666, allocations: 1.059 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3666, allocations: 0 / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3668, allocations: 55.91 kB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3668, allocations: 288 / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3668, allocations: 16 kB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.3668, allocations: 7.984 kB / 1.22 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3669, allocations: 3.938 kB / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.3675, allocations: 0.5218 MB / 1.221 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.3677, allocations: 180.5 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.3678, allocations: 8 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.3681, allocations: 19.97 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3682, allocations: 23.98 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3682, allocations: 15.98 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004547/0.3687, allocations: 415.1 kB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.3687, allocations: 0 / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009421/0.3696, allocations: 347.2 kB / 1.222 GB, free: 12.96 MB / 0.9825 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.00064/0.3703, allocations: 319.4 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006519/0.371, allocations: 404.8 kB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.371, allocations: 0 / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.3711, allocations: 111.8 kB / 1.223 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.3728, allocations: 369.8 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3744, allocations: 1.102 MB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.3748, allocations: 0.8981 MB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004857/0.3753, allocations: 161 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3754, allocations: 51.42 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3754, allocations: 0 / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of Templates: time 0.02114/0.3966, allocations: 13 MB / 1.238 GB, free: 12.71 MB / 0.9981 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