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.001282/0.001282, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 198 kB / 16.54 MB, free: 6.672 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.382/2.382, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6907, allocations: 140.4 MB / 0.9496 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02738/0.7182, allocations: 26.28 MB / 0.9752 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.7303, allocations: 7.132 MB / 0.9822 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.7323, allocations: 35.62 kB / 0.9822 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.7336, allocations: 388.5 kB / 0.9826 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.7374, allocations: 1.1 MB / 0.9837 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.7403, allocations: 0.9579 MB / 0.9846 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003388/0.7437, allocations: 2.081 MB / 0.9866 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009881/0.7447, allocations: 0.6209 MB / 0.9873 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.7467, allocations: 0.7238 MB / 0.988 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008302/0.7476, allocations: 0.5346 MB / 0.9885 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.7477, allocations: 54.91 kB / 0.9885 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.7495, allocations: 0.8071 MB / 0.9893 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.7497, allocations: 167.4 kB / 0.9895 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.7502, allocations: 390.1 kB / 0.9899 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.7522, allocations: 1.188 MB / 0.991 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7522, allocations: 7.922 kB / 0.991 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.457e-06/0.7522, allocations: 0 / 0.991 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.7522, allocations: 7.938 kB / 0.991 GB, free: 7.262 MB / 0.7481 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.001618/0.7538, allocations: 1.047 MB / 0.9921 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.7539, allocations: 12.03 kB / 0.9921 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.7543, allocations: 84.08 kB / 0.9921 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.7555, allocations: 0.6944 MB / 0.9928 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.7556, allocations: 40.94 kB / 0.9929 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.7557, allocations: 44 kB / 0.9929 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.7564, allocations: 0.4923 MB / 0.9934 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.7565, allocations: 7.984 kB / 0.9934 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.7565, allocations: 24 kB / 0.9934 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.7566, allocations: 15.94 kB / 0.9934 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.7571, allocations: 315.7 kB / 0.9937 GB, free: 4.371 MB / 0.7481 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.002777/0.7599, allocations: 2.767 MB / 0.9964 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.7602, allocations: 194.5 kB / 0.9966 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.7604, allocations: 97.38 kB / 0.9967 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.7607, allocations: 344.4 kB / 0.997 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.7608, allocations: 42.88 kB / 0.9971 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.724e-06/0.7608, allocations: 4 kB / 0.9971 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.000674/0.7615, allocations: 302.8 kB / 0.9974 GB, free: 304 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.7616, allocations: 55.34 kB / 0.9974 GB, free: 236 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.7622, allocations: 0.5264 MB / 0.9979 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.7622, allocations: 33.7 kB / 0.998 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.7625, allocations: 347.3 kB / 0.9983 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.7626, allocations: 78.84 kB / 0.9984 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.7627, allocations: 77.61 kB / 0.9985 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7628, allocations: 370.7 kB / 0.9988 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.763, allocations: 96.75 kB / 0.9989 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.7633, allocations: 230 kB / 0.9991 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.7637, allocations: 337.9 kB / 0.9994 GB, free: 14 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7637, allocations: 4 kB / 0.9994 GB, free: 14 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005723/0.7643, allocations: 394.4 kB / 0.9998 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.7643, allocations: 4 kB / 0.9998 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7643, allocations: 8 kB / 0.9998 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.7643, allocations: 4.562 kB / 0.9998 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.7646, allocations: 79.91 kB / 0.9999 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.7646, allocations: 11.94 kB / 0.9999 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.765, allocations: 39.61 kB / 1 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.765, allocations: 20 kB / 1 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002913/0.7653, allocations: 252 kB / 1 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002629/0.7656, allocations: 238.6 kB / 1 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004022/0.766, allocations: 333.7 kB / 1.001 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.766, allocations: 4 kB / 1.001 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005453/0.7665, allocations: 388.3 kB / 1.001 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.7666, allocations: 5.875 kB / 1.001 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7666, allocations: 12.03 kB / 1.001 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.7666, allocations: 4 kB / 1.001 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.7668, allocations: 79.84 kB / 1.001 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7668, allocations: 11.94 kB / 1.001 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.7672, allocations: 31.73 kB / 1.001 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.7672, allocations: 16 kB / 1.001 GB, free: 11.97 MB / 0.7637 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.0001328/0.7673, allocations: 208.1 kB / 1.001 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.7674, allocations: 63.28 kB / 1.002 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.7679, allocations: 280 kB / 1.002 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.7679, allocations: 7.938 kB / 1.002 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.768, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003611/0.7683, allocations: 379 kB / 1.002 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.7698, allocations: 1.061 MB / 1.003 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.7698, allocations: 0 / 1.003 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.77, allocations: 55.91 kB / 1.003 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.77, allocations: 0 / 1.003 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.7701, allocations: 16.28 kB / 1.003 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.7701, allocations: 15.86 kB / 1.003 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7701, allocations: 0 / 1.003 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.7707, allocations: 0.522 MB / 1.004 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.771, allocations: 176.3 kB / 1.004 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/0.7711, allocations: 4 kB / 1.004 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.7714, allocations: 15.98 kB / 1.004 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.7715, allocations: 27.97 kB / 1.004 GB, free: 8.938 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.7715, allocations: 19.98 kB / 1.004 GB, free: 8.918 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004799/0.772, allocations: 411.1 kB / 1.004 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/0.772, allocations: 0 / 1.004 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001044/0.773, allocations: 351.3 kB / 1.005 GB, free: 8.168 MB / 0.7637 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.0007993/0.7738, allocations: 316.6 kB / 1.005 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007411/0.7746, allocations: 420.4 kB / 1.005 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7746, allocations: 0 / 1.005 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.7748, allocations: 111.8 kB / 1.006 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.7766, allocations: 379.9 kB / 1.006 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.7784, allocations: 1.104 MB / 1.007 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.7789, allocations: 0.8903 MB / 1.008 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005823/0.7795, allocations: 161 kB / 1.008 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.7796, allocations: 63.42 kB / 1.008 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of SimCode: time 4.1e-07/0.7796, allocations: 0 / 1.008 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of Templates: time 0.02413/0.8038, allocations: 12.9 MB / 1.021 GB, free: 7.988 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches