Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001777/0.001777, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.002225/0.002225, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9438/0.9451, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03072/0.9759, allocations: 26.28 MB / 1.114 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.9886, allocations: 7.132 MB / 1.121 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.9911, allocations: 38.56 kB / 1.121 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.993, allocations: 390.3 kB / 1.122 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.9977, allocations: 1.1 MB / 1.123 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/1.001, allocations: 0.9619 MB / 1.124 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004539/1.006, allocations: 2.098 MB / 1.126 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/1.007, allocations: 0.6236 MB / 1.126 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/1.01, allocations: 0.7446 MB / 1.127 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/1.012, allocations: 0.5426 MB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002582/1.012, allocations: 54.62 kB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/1.015, allocations: 0.8127 MB / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/1.015, allocations: 165.5 kB / 1.129 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009815/1.016, allocations: 389.1 kB / 1.129 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003252/1.02, allocations: 1.204 MB / 1.13 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.02, allocations: 1.984 kB / 1.13 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/1.02, allocations: 0 / 1.13 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.73e-05/1.02, allocations: 0 / 1.13 GB, free: 9.273 MB / 0.8887 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.002535/1.022, allocations: 1.061 MB / 1.131 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.022, allocations: 12.94 kB / 1.131 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/1.023, allocations: 84.38 kB / 1.131 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/1.024, allocations: 0.7314 MB / 1.132 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/1.025, allocations: 39.59 kB / 1.132 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/1.025, allocations: 50.59 kB / 1.132 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.026, allocations: 0.4989 MB / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.026, allocations: 1.5 kB / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/1.026, allocations: 21.25 kB / 1.133 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/1.026, allocations: 12.83 kB / 1.133 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/1.026, allocations: 319.2 kB / 1.133 GB, free: 7.562 MB / 0.8887 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.004153/1.031, allocations: 2.745 MB / 1.136 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/1.031, allocations: 197.7 kB / 1.136 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/1.031, allocations: 101.7 kB / 1.136 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/1.032, allocations: 340.6 kB / 1.136 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.032, allocations: 41.81 kB / 1.136 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/1.032, allocations: 0 / 1.136 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.0007685/1.032, allocations: 309.4 kB / 1.137 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.033, allocations: 58 kB / 1.137 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/1.033, allocations: 0.5223 MB / 1.137 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/1.033, allocations: 32.58 kB / 1.137 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/1.034, allocations: 346.9 kB / 1.137 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.034, allocations: 80.95 kB / 1.138 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.034, allocations: 79.95 kB / 1.138 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.034, allocations: 362.7 kB / 1.138 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/1.034, allocations: 91.91 kB / 1.138 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/1.035, allocations: 237.7 kB / 1.138 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/1.035, allocations: 338.5 kB / 1.139 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.035, allocations: 2.406 kB / 1.139 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008169/1.036, allocations: 393.9 kB / 1.139 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.036, allocations: 6.75 kB / 1.139 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/1.036, allocations: 8.75 kB / 1.139 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/1.036, allocations: 6.984 kB / 1.139 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/1.036, allocations: 80.39 kB / 1.139 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/1.036, allocations: 7.953 kB / 1.139 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/1.037, allocations: 48.3 kB / 1.139 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/1.037, allocations: 19.34 kB / 1.139 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003489/1.037, allocations: 254.5 kB / 1.139 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000277/1.038, allocations: 233.8 kB / 1.14 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004244/1.038, allocations: 329.9 kB / 1.14 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/1.038, allocations: 1.344 kB / 1.14 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0007199/1.039, allocations: 384 kB / 1.14 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.039, allocations: 8.766 kB / 1.14 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.039, allocations: 3.344 kB / 1.14 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.039, allocations: 7.25 kB / 1.14 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/1.039, allocations: 84.78 kB / 1.14 GB, free: 2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.039, allocations: 10.42 kB / 1.14 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/1.04, allocations: 30.55 kB / 1.14 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/1.04, allocations: 19.8 kB / 1.14 GB, free: 1.977 MB / 0.8887 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.0001798/1.04, allocations: 208.5 kB / 1.141 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/1.04, allocations: 55.86 kB / 1.141 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/1.041, allocations: 288.2 kB / 1.141 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.041, allocations: 6.188 kB / 1.141 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.041, allocations: 1.922 kB / 1.141 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003924/1.041, allocations: 377.5 kB / 1.141 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/1.043, allocations: 1.062 MB / 1.142 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.043, allocations: 2.594 kB / 1.142 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/1.043, allocations: 50.94 kB / 1.142 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.043, allocations: 3.375 kB / 1.142 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/1.043, allocations: 10.53 kB / 1.142 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/1.043, allocations: 4.141 kB / 1.142 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/1.043, allocations: 2.25 kB / 1.142 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/1.044, allocations: 0.5214 MB / 1.143 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/1.044, allocations: 175.9 kB / 1.143 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.044, allocations: 5.109 kB / 1.143 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/1.045, allocations: 18.16 kB / 1.143 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/1.045, allocations: 35.98 kB / 1.143 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/1.045, allocations: 23.23 kB / 1.143 GB, free: 28 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006584/1.046, allocations: 407.5 kB / 1.144 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/1.046, allocations: 0 / 1.144 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001494/1.047, allocations: 355 kB / 1.144 GB, free: 15.76 MB / 0.9044 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.001056/1.048, allocations: 303.6 kB / 1.144 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008497/1.049, allocations: 401.5 kB / 1.145 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.049, allocations: 192 / 1.145 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/1.049, allocations: 115.3 kB / 1.145 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.051, allocations: 377.5 kB / 1.145 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/1.054, allocations: 1.099 MB / 1.146 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/1.054, allocations: 0.8921 MB / 1.147 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/1.054, allocations: 60.3 kB / 1.147 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of SimCode: time 1.142e-06/1.054, allocations: 4 kB / 1.147 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of Templates: time 0.02396/1.078, allocations: 10.9 MB / 1.158 GB, free: 10.67 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches